GetReference - ReferenceAlias

Member of: ReferenceAlias Script

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

SyntaxEdit

ObjectReference Function GetReference() native
ObjectReference Function GetRef()

ParametersEdit

None

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit