SetCinematicCameraForPlayer

Parameters
whichPlayer player
cameraModelFile string
comment
patch

1.00

Source
Blizzard.j
return type
nothing
Source code
function SetCinematicCameraForPlayer takes player whichPlayer, string cameraModelFile returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call SetCinematicCamera(cameraModelFile)
    endif
endfunction