SetCameraMode

From NWN Lexicon



Contents

[edit] SetCameraMode(object, int)

Changes the perspective view of the player on the screen.

void SetCameraMode(
    object oPlayer,
    int nCameraMode
);

[edit] Parameters

oPlayer

PC mode change to occur to.

nCameraMode

CAMERA_MODE_*


[edit] Description

Set the camera mode for oPlayer.

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



[edit] Version

1.22

[edit] See Also

functions: 

StoreCameraFacing

constants: 

CAMERA_MODE_* Constants



 author: Jody Fletcher
 

Personal tools
Categories