Function SetCameraQuickPositionLocForPlayer

Line
1607
Location
blizzard.j
Constant?
no
Type
function
Arguments
player whichPlayer, location loc
Returns
nothing
1607
function SetCameraQuickPositionLocForPlayer takes player whichPlayer, location loc returns nothing
1608
    if (GetLocalPlayer() == whichPlayer) then
1609
        // Use only local code (no net traffic) within this block to avoid desyncs.
1610
        call SetCameraQuickPosition(GetLocationX(loc), GetLocationY(loc))
1611
    endif
1612
endfunction