SetCameraLimits(object, float, float, float, float)
From NWN Lexicon
Jump to navigationJump to searchSets oPlayer's camera limits that override any client configuration limits.
Parameters
- oPlayer
- The player for whom the camera limits will be set.
- fMinPitch
- The minimum camera pitch to set on the player.
- fMaxPitch
- The maximum camera pitch to set on the player.
- fMinDist
- The minimum camera distance to set on the player.
- fMaxDist
- The maximum camera distance to set on the player.
Description
Sets oPlayer's camera limits that override any client configuration limits. Values of -1.0 means use the client configuration instead.
NB: Like all other camera settings, this is not saved when saving the game.
Remarks
Since it is not saved to the save game file, set it again in OnModuleLoad (which runs on save game load too).
Version
This function was added in 1.87.8193.35 of NWN:EE.
Example
See Also
functions: |
author: Shadguy