- Joined
- Nov 25, 2008
- Messages
- 1,309
Of the many ways to iteration over a set a units, which methods should be used in which situations?
Methods:
Because I doubt that a single method is best for everything.
Which methods count towards the OPLimit, and which ones don't (Actions done to EnumUnit)?
Methods:
ForGroup
FirstOfGroup
GroupEnumUnitsInRect
- Or simply looping over an array.
- Iterating over a group of units.
- Iteration over a temporary group of units.
- Iterating over a group while already iterating over a group, for both above situations.
Because I doubt that a single method is best for everything.
Which methods count towards the OPLimit, and which ones don't (Actions done to EnumUnit)?