GetLocation - LocationAlias

From the CreationKit Wiki
Revision as of 14:10, 20 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: LocationAlias Script (Papyrus)

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