ClearSelectionForPlayer

Parameters
whichPlayer player
comment
patch

1.07

Source
Blizzard.j
return type
nothing
Source code
function ClearSelectionForPlayer takes player whichPlayer returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call ClearSelection()
    endif
endfunction