PanCameraToTimedLocForPlayer

Parameters
whichPlayer player
loc location
duration real
comment
patch

1.00

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