GetLocation - LocationAlias

From the CreationKit Wiki
Jump to navigation Jump to search

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.

Syntax[edit | edit source]

Location Function GetLocation() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

See Also[edit | edit source]