The following condition will trigger whenever an entity health drops below a certain percentage.
   StateName = "INIT",
      Conditions =
         EntityHealthIsLess {
            Tag = "creep",
            Percent = 50
      Actions =
         <do stuff>
  • "creep" is the tag given to the entity you want to monitor.
  • Percent is the health percentage on which the event triggers. (Not 100% of the correct number range.)
  • You will need to add the tag from the Entity Properties window.
  • You may use any tag name you wish.
  • You can add any Script Action in the action section to do something useful with this script.


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.