TryToMoveTo - ReferenceAlias: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
No edit summary
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
bool Function TryToMoveTo(ObjectReference RefToMoveTo)
bool Function TryToMoveTo(ObjectReference RefToMoveTo)
ObjectReference Ref = GetReference()
ObjectReference Ref = GetReference()
Line 16: Line 16:
Return False
Return False
EndFunction
EndFunction
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 25: Line 25:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Move the bandit to his marker
; Move the bandit to his marker
BanditAlias.TryToMoveTo(MarkerRef)
BanditAlias.TryToMoveTo(MarkerRef)
</source>
</syntaxhighlight>
==Notes:==
==Notes:==
'''(AliasTryFunctions == TRUE) is NOT an accurate reflection of (AliasRef == HasExpectedResults) OR (Alias == HasNewOrNoValue)'''
'''(AliasTryFunctions == TRUE) is NOT an accurate reflection of (AliasRef == HasExpectedResults) OR (Alias == HasNewOrNoValue)'''

Navigation menu