SetCameraMode(object, int)

Changes the perspective view of the player on the screen.

void SetCameraMode(
    object oPlayer,
    int nCameraMode
);

Parameters

oPlayer

PC mode change to occur to.

nCameraMode

CAMERA_MODE_*


Description

Set the camera mode for oPlayer.

If oPlayer is not player-controlled or nCameraMode is invalid, nothing happens.



Version

1.22

See Also

functions: RestoreCameraFacing | SetCameraFacing | SetCutsceneMode | StoreCameraFacing
categories: Miscellaneous Functions
constants: CAMERA_MODE_* Constants


 author: Jody Fletcher