The GetLocation() NWScript command returns the location of an object. On any error (e.g. if the object is invalid), it returns a location with an invalid area component.


location GetLocation (object oObject)

object oObject 
The object whose location will be returned.


During the OnClientLeave event, the exiting object (the PC) does not have a valid location.

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.