LockCameraDirection

From NWN Lexicon


Contents

[edit] LockCameraDirection(object, int)

Locks the player's camera direction to its current direction, or unlocks the player's camera direction to enable it to move freely again.

void LockCameraDirection(
    object oPlayer,
    int bLocked = TRUE
);

[edit] Parameters

oPlayer

A player object.

bLocked

TRUE or FALSE. (Default: TRUE)


[edit] Description

Locks the player's camera direction to its current direction, or unlocks the player's camera direction to enable it to move freely again.

Stops the player from being able to rotate the camera direction.



[edit] Version

1.67

[edit] See Also

functions: 

LockCameraPitch



author: bernosky, editor: Mistress

Personal tools
Categories