GetLocation - LocationAlias

From the CreationKit Wiki
Revision as of 01:16, 11 January 2017 by imported>Xander9009
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]