- Joined
- Nov 24, 2007
- Messages
- 55
I was wondering what the best "JASS" solution to doing something akin to this:
Iterate through a group of units that
- match a condition I can specify in a function (preferably a function that could take a unit parameter...GetFilterUnit() is okay...but i'd prefer and assume there is a better way)
- further, call a function on that unit (again, preferably one I could pass things in as parameters and not use GetEnumUnit()...preferably)
Thanks!
Iterate through a group of units that
- match a condition I can specify in a function (preferably a function that could take a unit parameter...GetFilterUnit() is okay...but i'd prefer and assume there is a better way)
- further, call a function on that unit (again, preferably one I could pass things in as parameters and not use GetEnumUnit()...preferably)
Thanks!