SetCameraQuickPositionLocForPlayer

Parameters
whichPlayer player
loc location
comment
patch

1.00

return type
nothing
Source code
function SetCameraQuickPositionLocForPlayer takes player whichPlayer, location loc returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call SetCameraQuickPosition(GetLocationX(loc), GetLocationY(loc))
    endif
endfunction
Source
Blizzard.j
wc3modding.com
SetCameraQuickPositionLocForPlayer