Reviving Enemy

Type: Enemy brain
Level: not in gallery
Pages: 1
Description: Found in the Kodian Golem Brain. This melee enemy cannot be killed completely. After 5 seconds it will revive. See alterations for limited revival amounts.


  1. WHEN [once]
  2. …WHEN DO [team][equals][team 2]
  3. …WHEN DO [detroy after death][equals][false]
  4. WHEN [enemies][nearest object][or][player][neutrals][nearest object] DO [objvar:my enemy][equals][it]
  5. WHEN [distance to][objvar:my enemy][less than][20][and][distance to][objvar:my enemy][greater than or equal to][2]
  6. …WHEN DO [move][toward][objvar:my enemy]
  7. WHEN [is ally with][objvar:my enemy] DO [objvar:my enemy][equal][nothing]
  8. WHEN [countdown timer][#pause attack][loop]
  9. …WHEN [distance to][objvar:my enemy][less than or equal to][2] DO [attack][light][objvar:my enemy][end combo]
  10. …WHEN DO [#pause attack][equals][random number][1][to][3]
  11. WHEN [is dead]
  12. …WHEN [countdown timer][5] DO [revive]


Limiting the amount of revives

This example he will revive 2 times and be destroyed on the 3rd kill

    1. WHEN [is dead]
    2. …WHEN [started to] DO [#revive][incremented by][1]
    3. …WHEN [#revive][less than][3]
    4. …/…WHEN [countdown timer][5] DO [revive]
    5. …/…WHEN [else] DO [destroy after death][equals][true]

Comments are closed.

Website Powered by

Up ↑

%d bloggers like this: