EntityWithin

Docs Transitions

Key

entityWithin


Effect

If entity is found within area.


Attributes

  • entityWithin (string[], default null): checks for any entity with given name (third priority; must be set to atleast '')
  • range (double, default 10): area that it checks for entity
  • any (bool, default false): checks for any entity (first priority)
  • group (string, default null): checks for entity within given group (second priority)

Examples

<Transition any="true" entityWithin="shtrs Ice Adept">state2,state3</Transition>

<Transition group="shtrs portal" entityWithin="shtrs Ice Adept,shtrs Ice Mage">explode</Transition>