Unit Starts Attacking
This event fires when a unit starts attacking. Use "Attacking Unit" or "Triggering Unit" to get the attacker. Use "Triggering Player" to get the owner of the attacker.
I know how to get the attacker, but how do I get that is targeted by the attacker?
you might try "target unit of order" and set order to order of ability attack.
there seem to be no native for attacked unit.
i deleted my old skype, contact me for new one. I am for hire now! My Legacy - All of my maps as open source
Hmm... I'm not exactly sure on how to do it. Would you mind to provide the exact parameters?
i assume attack is always order with index 0, unless you have weapons that fire while moving. dunno how it behaves with order queue
Thanks so much!!!
Quote from Chris97Ong: GoI know how to get the attacker, but how do I get that is targeted by the attacker?
-Unit - Any Unit starts attacking with Any Weapon
-Unit - Order (Acquired Target) to ( Move targeting (Random point in (Entire map))) (Replace Existing Orders)
Result: if you place whatever unit that shoot, any target it shoot at will start to move anywhere. Acquired Target is what you are looking for.
I noticed it was greyed out, but it still works fine.
Working on projects: