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
);

Parameters

oPlayer

A player object.

bLocked

TRUE or FALSE. (Default: TRUE)


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.



Version

1.67

See Also

functions:  LockCameraDistance LockCameraPitch
categories:  PC Only Functions


author: bernosky, editor: Mistress