Vector
From NWNWiki
A vector is a structure of three floats, representing a point in three coordinates (x, y, and z). Vectors are used to define positions in an area, and as such they are a component of a location, specifically the component most often changed when generating a new location from a known one.
The components of a vector can be accessed with the dot operator, meaning that a vector variable is appended with ".x", ".y", or ".z" as appropriate. For example, if vPosition is the vector (1.0, 2.0, 3.0), then vPosition.y is 2.0, and assigning 4.0 to vPosition.x causes vPosition to become (4.0, 2.0, 3.0).
[edit] Constructor
A vector can be constructed with the command Vector(), which returns a vector with the three provided coordinates.
vector Vector (float x=0.0, float y=0.0,-
float z=0.0)
