Difference between revisions of "GetLocation - LocationAlias"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>JLundin
imported>Xander9009
m
 
Line 4: Line 4:
'''Member of:''' [[LocationAlias Script]]
'''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.
Attempts to retrieve the location this alias is pointing at. If it has not been resolved to a location, it will return None.


== Syntax ==
== Syntax ==

Latest revision as of 00:16, 11 January 2017

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]