NWNWiki
Advertisement
NWNWiki
3,718
pages

The GetAreaFromLocation() NWScript command returns the area component of the given location.

In addition to the more obvious uses, this function can be used to detect certain types of invalid locations. If the area component of a location is OBJECT_INVALID, then the location is not valid.

Definition[]

object GetAreaFromLocation (location lLocation)

location lLocation
The location whose area will be returned.

See also[]

  • GetArea() — for getting the area of an object directly
Advertisement