"Is In Combat" Check

X

Xco620

Guest
Is there a way for a trigger to check if a unit is currently in combat?
For example, if a unit is currently attacking, or has been given the order to attack, or is channeling/casting a spell, then the trigger would check that.

Giving +Rep for a correct answer.
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
more or less.

i am using this trick,
-> give all units an aura (it does not matter which aura you use as base)
-> make the aura only target enemys in a range of about 600. (maybe more if you want)
-> add this aura to a spellbook and give the spellbook ability to your units.
-> Disable the spellbook (NOT the aura!!!) for all players.
-> now check if your unit has the buff of that aura (for example 'CustomEnduranceAura')
-> if the unit has it it is close to an enemy and obviously fighting.

good luck!
 
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