quote: Did not understand can you explain better? |
Hm, I'd assumed you were doing a widget.
(if you need the function params, look them up on Spring wiki)
Spring.GetUnitsInCylinder OR
Spring.GetUnitsInSphere
Go through the list of units returned, and if any of them fails a Spring.AreTeamsAllied comparison of their team vs. yours, Spring.GiveOrderToUnit with CMD.ATTACK.
quote: Did try but it did not work the way i wanted, roach/tick moved long before any unit got near enough to uncloak it. |
Hold Position
(but then you'll probably want a way to reset to Maneuver when the Roach is moving)