DISTANCE_* Constant Group

From NWN Lexicon
Jump to navigationJump to search
Information icon.png Note: This constant page documents something only available in the x0_i0_position include file. The constant may not be accurately documented here but you can read the nwscript code for the function in the game files.

Distances used for determining positions.

The main use by Bioware of this is in the animation include file x0_i0_anims, and internally in the function GetRandomLocation.

Requirements

#include "x0_i0_position"

Constants

Constant Value Description
DISTANCE_HUGE 20.0
A very long distance.
DISTANCE_LARGE 10.0
A long distance.
DISTANCE_MEDIUM 5.0
A medium distance.
DISTANCE_SHORT 3.0
A short distance.
DISTANCE_TINY 1.0
A very short distance.

See Also

functions: 

GetOppositeLocation GetChangedPosition GetRandomLocation