GetReference - ReferenceAlias

From the CreationKit Wiki
Revision as of 16:17, 29 June 2013 by imported>Thingy Person (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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()
	return GetReference()
endFunction

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