- Joined
- Sep 3, 2009
- Messages
- 458
Well I'm making a trigger that when you right click on an enemy unit, the ability will autocast on that target. So I made this trigger that I thought would be best to simulate this:
-
Attack
-
Events
-
Unit - A unit Is issued an order targeting an object
-
-
Conditions
-
Actions
-
Set Attacker = (Triggering unit)
-
Set Attacked = (Target unit of issued order)
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Current order of Attacker) Equal to (==) (Order(move))
-
-
Then - Actions
-
Unit - Order Attacker to Neutral - Firebolt Attacked
-
-
Else - Actions
-
-
-
-