NeuroToxin
New Member
- Reaction score
- 46
Is there a way to select a number of trees, in range, without using a rect? I have been looking through the GUI and JASS functions and haven't found one. Any ideas anybody?
Destructible - Pick every destructible within 256.00 of (Center of (Playable map area)) and do (Actions)
Loop - Actions
Actions
-------- Set count to number of units owned by player 1 --------
Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Actions)
Loop - Actions
Set Count = (Count + 1)
-------- Set count to destructibles in 500 aoe --------
Destructible - Pick every destructible within 500.00 of (Position of (Triggering unit)) and do (Actions)
Loop - Actions
Set Count = (Count + 1)