CameraSetupApplyForPlayer

Parameters
doPan boolean
whichSetup camerasetup
whichPlayer player
duration real
comment
patch

1.00

Source
Blizzard.j
return type
nothing
Source code
function CameraSetupApplyForPlayer takes boolean doPan, camerasetup whichSetup, player whichPlayer, real duration returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call CameraSetupApplyForceDuration(whichSetup, doPan, duration)
    endif
endfunction