- Joined
- Nov 27, 2007
- Messages
- 85
I'm trying to make a group of units that have the same type.
By using this native:
What confuses me is the "string unitname" part.
I guess it's supposed to "represent" the unit type, but... What should I put in its place?
I tried these, but they don't seem to work:
By using this native:
JASS:
native GroupEnumUnitsOfType takes group whichGroup, string unitname, boolexpr filter returns nothing
What confuses me is the "string unitname" part.
I guess it's supposed to "represent" the unit type, but... What should I put in its place?
I tried these, but they don't seem to work:
JASS:
call GroupEnumUnitsOfType(g, "Footman", null)
call GroupEnumUnitsOfType(g, "hf00", null)
call GroupEnumUnitsOfType(g, I2S('hf00'), null)