GetActorReference - ReferenceAlias: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Thingy Person
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Actor Function GetActorReference()
Actor Function GetActorReference()
return GetReference() as Actor
return GetReference() as Actor
Line 13: Line 13:
return GetActorReference()
return GetActorReference()
endFunction
endFunction
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 22: Line 22:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Obtain the actor this alias points at
; Obtain the actor this alias points at
Actor theActor = MyAlias.GetActorReference()
Actor theActor = MyAlias.GetActorReference()
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu