PathToReference - Actor: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Catwheezle
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
bool Function PathToReference(ObjectReference aTarget, float afWalkRunPercent) native
bool Function PathToReference(ObjectReference aTarget, float afWalkRunPercent) native
</source>
</syntaxhighlight>


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


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Make actor path to the player at half speed
; Make actor path to the player at half speed
Bob.PathToReference(Game.GetPlayer(), 0.5)
Bob.PathToReference(Game.GetPlayer(), 0.5)
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu