Difference between revisions of "GetLocation - LocationAlias"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
imported>JLundin
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Papyrus]]
'''Member of:''' [[LocationAlias Script (Papyrus)]]
[[Category:Non-delayed Native Function]]
'''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 retrive the location this alias is pointing at. If it has not been resolved to a location, it will return None.

Revision as of 08:05, 12 September 2012

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