GetLocation - LocationAlias

From Creation Kit
Jump to: navigation, 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

Location Function GetLocation() native

Parameters

None

Return Value

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

Examples

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

See Also