SetCameraOrientControllerForPlayerBJ

Parameters
whichPlayer player
whichUnit unit
xoffset real
yoffset real
comment
patch

1.00

Source
Blizzard.j
return type
nothing
Source code
function SetCameraOrientControllerForPlayerBJ takes player whichPlayer, unit whichUnit, real xoffset, real yoffset returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call SetCameraOrientController(whichUnit, xoffset, yoffset)
    endif
endfunction