Help with a custom combat engine

Status
Not open for further replies.
Level 8
Joined
Mar 3, 2009
Messages
327
What I am trying to do is detect when a unit is ordered to attack while it already has the attack once order. Unfortunately a trigger that detects an order doesn't seem (emphasis on the 'seem') to work. Either the order isnt "issued" or it doesnt last long enough for "issued order" and "target unit of issued order" to be detected.

Either way, please give me an explanation, a working trigger or tell me that theres no way to detect a right click while a unit is attacking. Thanks.
 
  • Events
  • Unit - A unit is issued an order targeting an object
  • Conditions
    • Or - Any (Conditions) are true
      • Conditions
        • (Issued order) Equal to (Order(smart))
        • (Issued order) Equal to (Order(attack))
That's how you detect a right click on an enemy unit.
 
Status
Not open for further replies.
Back
Top