SetCameraHeight(object, float)

Sets the camera to a certain height

void SetCameraHeight(
    object oPlayer,
    float fHeight = 0.0f
);

Parameters

oPlayer

Player to move the camera of

fHeight

Height of camera (Default: 0.0f)


Description

Forces this player's camera to be set to this height. Setting this value to zero will restore the camera to the racial default height.



Remarks

Currently unknown if this can accomplish more than the SetCameraFacing command's distance parameter.

Currently unknown what will happen if a height that isn't valid is used.


Version

1.61

See Also

functions: SetCameraFacing
categories: Miscellaneous Functions | PC Only Functions


 author: Lilac Soul