EnumUnitsSelected

Parameters
whichPlayer player
enumFilter boolexpr
enumAction code
return type
nothing
Source code
function EnumUnitsSelected takes player whichPlayer, boolexpr enumFilter, code enumAction returns nothing
    local group g = CreateGroup()
    call SyncSelections()
    call GroupEnumUnitsSelected(g, whichPlayer, enumFilter)
    call DestroyBoolExpr(enumFilter)
    call ForGroup(g, enumAction)
    call DestroyGroup(g)
endfunction
Source
Blizzard.j
wc3modding.com
EnumUnitsSelected