1,482
edits
m (Grammar) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Function SplineTranslateToRefNode(ObjectReference arTarget, string arNodeName, float afTangentMagnitude, float afSpeed, \ | Function SplineTranslateToRefNode(ObjectReference arTarget, string arNodeName, float afTangentMagnitude, float afSpeed, \ | ||
float afMaxRotationSpeed = 0.0) native | float afMaxRotationSpeed = 0.0) native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 23: | Line 23: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Translate the bird ref to the rock landing node with a low spline magnitude and speed | ; Translate the bird ref to the rock landing node with a low spline magnitude and speed | ||
Bird.SplineTranslateToRefNode(Rock, "landing", 1.0, 1.0) | Bird.SplineTranslateToRefNode(Rock, "landing", 1.0, 1.0) | ||
</ | </syntaxhighlight> | ||
<br> | <br> | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Translate the bird ref to the rock landing node with a low spline magnitude and speed, and low rotation speed | ; Translate the bird ref to the rock landing node with a low spline magnitude and speed, and low rotation speed | ||
Bird.SplineTranslateToRefNode(Rock, "landing", 1.0, 1.0, 10) | Bird.SplineTranslateToRefNode(Rock, "landing", 1.0, 1.0, 10) | ||
</ | </syntaxhighlight> | ||
== Tips == | == Tips == | ||