PanCameraToForPlayer

Parameters
whichPlayer player
x real
y real
return type
nothing
Source code
function PanCameraToForPlayer takes player whichPlayer, real x, real y returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call PanCameraTo(x, y)
    endif
endfunction
Source
Blizzard.j
wc3modding.com
PanCameraToForPlayer