LockCameraDistance(object, int)

Locks the player's camera distance to its current distance setting, or unlocks the player's camera distance.

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

Parameters

oPlayer

A player object.

bLocked

TRUE or FALSE. (Default: TRUE)


Description

Locks the player's camera distance to its current distance setting, or unlocks the player's camera distance.

Stops the player from being able to zoom the camera in or out.



Version

1.67

See Also

functions:  LockCameraDirection | LockCameraPitch
categories:  PC Only Functions


author: Mistress