1,482
edits
imported>Thingy Person (→Syntax) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <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 | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 22: | Line 22: | ||
== Examples == | == Examples == | ||
< | <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() | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||