How to detect greater agility?

SnowCrow

New Member
Reaction score
7
Hi, I need a trigger that detects which of the two units has the greatest agility. How's that done?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
890
Use an Integer comparison: (Agility of (Unit) Including Bonuses) is greater than (Agility of (Unit) Including Bonuses)
 
I

IKilledKEnny

Guest
(Max((Real((Agility of (unit) (Exclude bonuses)))), (Real((Agility of (unit) (Exclude / include bonuses))))))
 
I

IKilledKEnny

Guest
It's a real / integer formula named max, you can use it as a condition, part of action and such.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top