#(JustinS) Adjust NPC pathoptions
46 messages · Page 1 of 1 (latest)
(JustinS) Adjust NPC pathoptions
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
I'd expect denizen and citizens to at least have most options available to change via denizen though it turns out a lot of them are missing
Im trying to change the falling distance of npcs btw
!m fall_dist
Sets the fall distance.
EntityTag
ElementTag(Decimal)
<EntityTag.fall_distance> Returns how far the entity has fallen.
?
Returns how far the entity has fallen.
Not the pathopt
what Im talking about is the maximum allowed falling distance when calculating paths
o ic
ya i dont rly see anything on the meta
it might be hidden somewhere on there or just not implemented at all
though you still can use execute to do this
!c execute
server
execute [as_player/as_op/as_npc/as_server] [<Bukkit-command>] (silent)
Executes an arbitrary server command as if the player, NPC, or server typed it in.
Allows the execution of server commands through a Denizen script.
Commands can be executed as the server, as an npc, as an opped player, or as a player, as though it was typed by the respective source.
Note that you should generally avoid using 'as_op', which is only meant for very specific special cases. 'as_server' is usually a better option.
Note: do not include the slash at the start. A slash at the start will be interpreted equivalent to typing two slashes at the front in-game.
Note that...
as_op
yeah I mentioned the execute command in my original post
will as_op work with the player
I mean
with a selected npc
why wouldn't it
k Ill try
I hope the player just doesnt get spammed full with messages
Changing npc opts usually sends a message
Right so I did that, and with silent option I made it silent. Only issue is, the npcs falling distance still isn't 10
They also don't have gravity
Even when adjusting gravity to true, they dont fall
so I'm confused
And /npc gravity says gravity is enabled on those npcs
so idk
If their gravity doesn't work unrelatedly to Denizen, then that's probably a question for #1027028179908558918?
Or otherwise if you no longer need help -
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@winged flame