Gaming
 

Location

From NWNWiki

A location defines a place within a module. It has three components — an object indicating the area, a vector indicating the position within the area, and a float indicating the facing (the front of whatever is at that location). These components are accessed with the commands GetAreaFromLocation(), GetPositionFromLocation(), and GetFacingFromLocation().

[edit] Constructor

A location can be constructed with the command Location(), which returns a location with the three provided components.

location Location (object oArea, vector vPosition,
float fOrientation)