SetCameraFieldControlledByInputForPlayer

Parameters
whichPlayerplayer
whichFieldcamerafield
controlledboolean
comment
patch

3.0.0.24268

Source
Blizzard.j (raise an issue to discuss on Github or submit a PR)
return type
nothing
Source code
function SetCameraFieldControlledByInputForPlayer takes player whichPlayer, camerafield whichField, boolean controlled returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call SetCameraFieldControlledByInput(whichField, controlled)
    endif
endfunction