171
edits
(added a new discovery (flagging as full LOD) that causes the function to fail.) |
m (Correct Parameter Names (afAngle[X/Y/Z] --> af[X/Y/Z]Angle)) |
||
| Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function TranslateTo(float afX, float afY, float afZ, float | Function TranslateTo(float afX, float afY, float afZ, float afXAngle, float afYAngle, float afZAngle, float afSpeed, \ | ||
float afMaxRotationSpeed = 0.0) native | float afMaxRotationSpeed = 0.0) native | ||
</source> | </source> | ||
| Line 15: | Line 15: | ||
*afY: Position along the Y axis (Absolute world coordinates). | *afY: Position along the Y axis (Absolute world coordinates). | ||
*afZ: Position along the Z axis (Absolute world coordinates). | *afZ: Position along the Z axis (Absolute world coordinates). | ||
* | *afXAngle: Destination X Angle (Absolute world rotation). | ||
* | *afYAngle: Destination Y Angle (Absolute world rotation) (rarely used). | ||
* | *afZAngle: Destination Z Angle (Absolute world rotation). | ||
*afSpeed: Movement Speed. | *afSpeed: Movement Speed. | ||
*afMaxRotationSpeed: Maximum rotation Speed (default is 0 to mean "don't clamp the rotation speed") - Negative values cause unpredictable rotation. | *afMaxRotationSpeed: Maximum rotation Speed (default is 0 to mean "don't clamp the rotation speed") - Negative values cause unpredictable rotation. | ||
edits