SetPosition - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>DavidJCobb
(→‎Notes: setmotiontype problem)
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SetPosition(float afX, float afY, float afZ) native
Function SetPosition(float afX, float afY, float afZ) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 20: Line 20:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Set the statue to be at the center of the world
; Set the statue to be at the center of the world
StatueProperty.SetPosition(0.0, 0.0, 0.0)
StatueProperty.SetPosition(0.0, 0.0, 0.0)
</source>
</syntaxhighlight>


== Notes==
== Notes==

Navigation menu