PanCameraToTimedLocForPlayer

Parameters
whichPlayer player
loc location
duration real
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
Source
Blizzard.j
wc3modding.com
PanCameraToTimedLocForPlayer