NWNWiki
Register
Advertisement
NWNWiki
3,718
pages
This article is about getting the position of an object; for getting the position from a location, see GetPositionFromLocation.

The GetPosition() NWScript command returns the position of an object (its coordinates within an area) as a vector. On any error (e.g. if the object is invalid), it returns (0.0, 0.0, 0.0).

Definition[]

vector GetPosition (object oTarget)

object oTarget
The object whose position will be returned.
Advertisement