# Pick Each Unit In Unit Group Deprecated
Grammar — Pick each unit in group and do (Actions)
Flags —SubFunctions
|Action
Runs the contained actions once for each unit in the unit group. Use the “Picked Unit” function to refer to the unit for which the actions are being run.
# Arguments
unitgroup
— Unit Group
Returns — void
UnitGroupLoopBegin(#PARAM(group));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
#SUBFUNCS(actions)
}
UnitGroupLoopEnd();
# Related
Category: Unit Group / Loops
- [F] —
void
— Pick Each Unit In Unit Group — ( ) - [F] —
void
— Pick Each Unit In Unit Group Deprecated — ( ) - [F] —
void
— For Each Unit In Unit Group — ( ) - [F] —
void
— For Each Unit In Unit Group Deprecated — ( ) - [F] —
unit
— Picked Unit — ( ) - [F] —
unit
— Picked Unit Deprecated — ( UnitGroupLoopCurrentDeprecated )
# Examples
— None found —