SetCameraHeight

From NWN Lexicon



Contents

[edit] SetCameraHeight(object, float)

Sets the camera to a certain height

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

[edit] Parameters

oPlayer

Player to move the camera of

fHeight

Height of camera (Default: 0.0f)


[edit] 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.



[edit] 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.


[edit] Version

1.61

[edit] See Also

functions: 

SetCameraFacing



 author: Lilac Soul
 

Personal tools
Categories