- Joined
- Mar 26, 2009
- Messages
- 301
I have a trigger which stops a certain unit from attacking other units under certain conditions. The main condition is:
Btw, as you can know, the event here is:
If you ask "why?" answer is: my units has a really low attack animation points (0.100 - 0.150) and although "Unit is Attacked" trigger can prevent the attack, it does not prevent the attack animaton =) Addig "Animation - Reset Unit Animation" action is not a solution too, because couple of other triggers with same event will launch their actions anyway =)
If I can't solve this via order id thing, I will have to combine all "unit is attacked" triggers via if/then/else. (which I prefer not to because it will drop a bomb on my current orgazinational paradigm =))
-
(Issued order) Equal to (Order(attack))
Btw, as you can know, the event here is:
-
Unit - A unit Is issued an order targeting an object
If you ask "why?" answer is: my units has a really low attack animation points (0.100 - 0.150) and although "Unit is Attacked" trigger can prevent the attack, it does not prevent the attack animaton =) Addig "Animation - Reset Unit Animation" action is not a solution too, because couple of other triggers with same event will launch their actions anyway =)
If I can't solve this via order id thing, I will have to combine all "unit is attacked" triggers via if/then/else. (which I prefer not to because it will drop a bomb on my current orgazinational paradigm =))