SetObjectVisibleDistance(object, float)
From NWN Lexicon
Jump to navigationJump to searchSets the distance (in meters) at which oObject info will be sent to clients (default 45.0).
Parameters
- oObject
- The object to set the visibility distance for.
- fDistance
- The viewing distance to set for oObject.
Description
Sets the distance (in meters) at which oObject info will be sent to clients (default 45.0). This is still subject to other limitations, such as perception ranges for creatures.
Note: Increasing visibility ranges of many objects can have a severe negative effect on network latency and server performance, and rendering additional objects will impact graphics performance of clients. Use cautiously.
Remarks
Version
This function was added in 1.86.8193.35 of NWN:EE.
Example
See Also
functions: |
author: Shadguy