unobserved_actor
Unobserved Actor
Blocks certain actions while this mob is being observed by something.
Vars | |
affected_actions | List of action types which cannot be used while observed. Applies to all actions if not set, and does nothing if NO_OBSERVED_ACTIONS flag isnt present |
---|---|
message_cooldown | Cooldown to prevent message spam when holding a move button |
unobserved_flags | Dictates what behaviour you're blocked from while observed |
Procs | |
can_be_seen | Returns true if you can be seen by something. Not a very robust algorithm but it'll work in the majority of situations. |
check_if_seen | Checks if the mob is visible to something else, and provides a balloon alert of feedback if appropriate. |
on_tried_ability | Called when the mob tries to use an ability |
on_tried_attack | Called when the mob tries to attack |
on_tried_move | Called when the mob tries to move |
on_tried_spell | Called when the mob tries to cast a spell |
on_tried_turn | Called when the mob tries to change direction |
Var Details
affected_actions
List of action types which cannot be used while observed. Applies to all actions if not set, and does nothing if NO_OBSERVED_ACTIONS flag isnt present
message_cooldown
Cooldown to prevent message spam when holding a move button
unobserved_flags
Dictates what behaviour you're blocked from while observed
Proc Details
can_be_seen
Returns true if you can be seen by something. Not a very robust algorithm but it'll work in the majority of situations.
check_if_seen
Checks if the mob is visible to something else, and provides a balloon alert of feedback if appropriate.
on_tried_ability
Called when the mob tries to use an ability
on_tried_attack
Called when the mob tries to attack
on_tried_move
Called when the mob tries to move
on_tried_spell
Called when the mob tries to cast a spell
on_tried_turn
Called when the mob tries to change direction