#(normalped) Left click trigger for npc's assignment
20 messages · Page 1 of 1 (latest)
(normalped) Left click trigger for npc's assignment
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.
!a damage
when the NPC is damaged by a player and the Damage trigger fires. Action does not run if you do not enable the Damage trigger.
<context.damage> returns how much damage was done.
"cancelled" to cancel the damage event.
what if I need them to be vulnerable?
Then that works out for you?
Or do you mean NOT vulnerable?
You can just cancel the damage event
Oh, yes, sorry
queue
determine (passively) [<value>]
Sets the outcome of a script.
Sets the outcome of a script.
The most common use case is within script events (for example, to cancel the event).
This is also required for all procedure scripts.
It may be useful in other cases (such as a task script that returns a result, via the save argument).
By default, the determine command will end the queue (similar to !command stop).
If you wish to prevent this, specify the "passively" argument.
To make multiple determines, simply use the determine command multiple times in a row, with the "passively" argument on each.
Thanks a lot! finally it works, but only with "damaged":
on damaged: - chat text targets:<context.damager> - determine cancelled
For some reason nothing happens with "damage", the event is not canceled and nothing is displayed in the chat:
on damage: - chat text - determine cancelled
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.)
Error: Missing thread owner. Did they leave the Discord? If so, just use </resolved:1028673926114594866> yourself.
oh