HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Selecting Dummies

08-28-2009, 12:37 PM#1
Kino
Its rather simple I need a way to pick locusted units via trigger and destroy them.
The usual pick units stuff doesnt work in this case.
08-28-2009, 12:48 PM#2
Panto
I don't suppose you have the option of saving the dummies to variables when, for example, they're created?
08-28-2009, 12:53 PM#3
Rising_Dusk
GroupEnumUnitsOfPlayer() catches locusted units.
08-30-2009, 06:17 AM#4
67chrome
Quote:
Originally Posted by Rising_Dusk
GroupEnumUnitsOfPlayer() catches locusted units.

wait - how do you do that?
08-30-2009, 06:24 AM#5
Rising_Dusk
Collapse JASS:
call GroupEnumUnitsOfPlayer(MyGroup, WhichPlayer, Boolexpr)
08-30-2009, 08:37 AM#6
Deaod
GroupEnumUnitsInRect does too, last time i checked.
08-30-2009, 08:15 PM#7
67chrome
Oh, OK thanks. Originally I thought you might have been referring to something you could do with the the basic triggers in the world editor. I should really learn Jass then, dummy units are so much fun.