GetLocation - LocationAlias

From the CreationKit Wiki
Revision as of 08:05, 12 September 2012 by imported>JLundin
Jump to navigation Jump to search

Member of: LocationAlias Script

Attempts to retrive 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