SelectUnitRemoveForPlayer

Parameters
whichUnit unit
whichPlayer player
comment
patch

1.07

return type
nothing
Source code
function SelectUnitRemoveForPlayer takes unit whichUnit, player whichPlayer returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call SelectUnit(whichUnit, false)
    endif
endfunction
Source
Blizzard.j
wc3modding.com
SelectUnitRemoveForPlayer