I was playing around and having a bit of fun when I decided I had a question to ask. A mini project of mine needs to issue an order to all units at all times. What's the best way to always issue a unit (any unit) to attack the closest unit to itself? Also, need a good unit becomes idle action (I see the event) that will reset this too.
Pick each unit in Any unit in Playable Map Area matching Excluded: missile, dead, hidden
... Issue order to Picked Unit: attack targeting Closest unit to picked unit
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I was playing around and having a bit of fun when I decided I had a question to ask. A mini project of mine needs to issue an order to all units at all times. What's the best way to always issue a unit (any unit) to attack the closest unit to itself? Also, need a good unit becomes idle action (I see the event) that will reset this too.
Thanks :)
Pick each unit in Any unit in Playable Map Area matching Excluded: missile, dead, hidden ... Issue order to Picked Unit: attack targeting Closest unit to picked unit