FANDOM


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.

DefinitionEdit

object GetAreaFromLocation (location lLocation)

location lLocation 
The location whose area will be returned.

See also Edit

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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.