TranslateToRef - ObjectReference: Difference between revisions
Jump to navigation
Jump to search
→Syntax
imported>Fg109 (add note) |
imported>Thingy Person (→Syntax) |
||
| Line 9: | Line 9: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function TranslateToRef(ObjectReference arTarget, float afSpeed, float afMaxRotationSpeed = 0.0) | Function TranslateToRef(ObjectReference arTarget, float afSpeed, float afMaxRotationSpeed = 0.0) | ||
TranslateTo(arTarget.X, arTarget.Y, arTarget.Z, arTarget.GetAngleX(), arTarget.GetAngleY(), arTarget.GetAngleZ(), afSpeed, afMaxRotationSpeed) | |||
endFunction | |||
</source> | </source> | ||