HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Locust Enumeration

03-10-2010, 12:08 AM#1
TheKid
I thought that Locust units could not be enumerated by the function EnumUnitsInRange, yet when I use it to detect nearby units --it also detects the nearby units that have the Locust ability. It seems to only enumerate them when they are dead, though, which makes a little more sense.

Again, seems that I've come across an answer almost immediately after posting. *Sigh*
03-10-2010, 05:31 AM#2
DioD
use dead units.

they cannot be selected but keep model\animation and pass into enumeration in range.


to select locust units use EnumUnitsOfPlayer but this will enum ALL unit over map, later you can filter them by range.
03-10-2010, 08:25 AM#3
Anachron
PurplePoot did this long time ago.
Here are the functions.
Have fun.
03-10-2010, 09:38 PM#4
TheKid
To be honest I know how the Locust unit enumerations work, but I thought that my enumeration was selecting units with the Locust ability that were not dead, which I thought perhaps was changed in the new patch or something. Thanks though, everyone.