Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Detecting circle of power under any unit
Detecting circle of power under any unit
01-15-2004, 11:53 PM
#1
Pesmerga
How would I detect if a circle of power was created within 128 of any unit?
01-16-2004, 12:27 AM
#2
Biflspud
E: Unit enters map
C: Entering unit = Circle of Power
A: Unit group - Pick every unit within 128 of entering unit
If Unit count of Last created Unit Group > 1
Then do whatever you want to do to them.
That wasn't that hard.
01-16-2004, 02:12 AM
#3
Pesmerga
holy shizza that was easy! thanks man, i was afraid someone was gonna use 'unit within range' thing!