Unit Takes Damage

Tyrulan

Ultra Cool Member
Reaction score
37
I do not want to use EVENT_PLAYER_UNIT_ATTACKED because (obv) it doesn't factor in attack speed, back swing and missile speed.

How can I detect when a unit takes damage? (Generic)
 

kingkingyyk3

Visitor (Welcome to the Jungle, Baby!)
Reaction score
216
But you can't add any UnitDamageTarget thing in callback. It will cause infinity loop.
I have my damage system which solve this, but I do not plan to post it up.
To solve this easily, DisableTrigger and Damage then Enable back.
 

Azlier

Old World Ghost
Reaction score
461
>But you can't add any UnitDamageTarget thing in callback. It will cause infinity loop.

That doesn't happen with Damage.
 

Tyrulan

Ultra Cool Member
Reaction score
37
Thanks a lot to _whelp for the Damage system suggestion. Works perfectly.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top