Difference between revisions of "TryToMoveTo - ReferenceAlias"

imported>Scornett
m (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin)
 
imported>Thingy Person
 
Line 9: Line 9:
<source lang="papyrus">
<source lang="papyrus">
bool Function TryToMoveTo(ObjectReference RefToMoveTo)
bool Function TryToMoveTo(ObjectReference RefToMoveTo)
ObjectReference Ref = GetReference()
if Ref
Ref.MoveTo(RefToMoveTo)
Return True
EndIf
Return False
EndFunction
</source>
</source>