GetLocation - LocationAlias

Member of: LocationAlias Script

Attempts to retrieve the location this alias is pointing at. If it has not been resolved to a location, it will return None.

SyntaxEdit

Location Function GetLocation() native

ParametersEdit

None

Return ValueEdit

The Location this alias is pointing at, or None if the alias has not been resolved.

ExamplesEdit

; Obtains the location from the alias
Location myHouseLocation = Alias_MyHouse.GetLocation()

See AlsoEdit