Difference between revisions of "GetReference - ReferenceAlias"

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]]
[[Category:Non-delayed Native Function]]
'''Member of:''' [[ReferenceAlias Script]]
'''Member of:''' [[ReferenceAlias Script]]



Revision as of 08:07, 12 September 2012

Member of: ReferenceAlias Script

Attempts to retrive the object reference this alias is pointing at. If it has not been resolved to a reference, it will return None.

Syntax

ObjectReference Function GetReference() native
ObjectReference Function GetRef()

Parameters

None

Return Value

The ObjectReference this alias is pointing at, or None if the alias has not been resolved.

Examples

; Get the reference the alias points at
ObjectReference bossRef = BossAlias.GetReference()

See Also