The search keyword must be a single word (no spaces).

Function GetUnitsOfPlayerMatching

Line
4819
Location
blizzard.j
Constant?
no
Type
function
Arguments
player whichPlayer, boolexpr filter
Returns
group
4819
function GetUnitsOfPlayerMatching takes player whichPlayer, boolexpr filter returns group
4820
    local group g = CreateGroup()
4821
    call GroupEnumUnitsOfPlayer(g, whichPlayer, filter)
4822
    call DestroyBoolExpr(filter)
4823
    return g
4824
endfunction