Function PanCameraToForPlayer

Line
1391
Location
blizzard.j
Constant?
no
Type
function
Arguments
player whichPlayer, real x, real y
Returns
nothing
1391
function PanCameraToForPlayer takes player whichPlayer, real x, real y returns nothing
1392
    if (GetLocalPlayer() == whichPlayer) then
1393
        // Use only local code (no net traffic) within this block to avoid desyncs.
1394
        call PanCameraTo(x, y)
1395
    endif
1396
endfunction