SetPosition - ObjectReference

From the CreationKit Wiki
Revision as of 14:53, 11 November 2011 by imported>Scornett (Reverted edits by Scornett-Bot (talk) to last revision by 10.0.8.34)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Sets the object's current position in the world.

Syntax

Function SetPosition(float afX, float afY, float afZ) native

Parameters

  • afX: Position along the X axis.
  • afY: Position along the Y axis.
  • afZ: Position along the Z axis.

Return Value

None.

Examples

; Set the statue to be at the center of the world
StatueProperty.SetPosition(0.0, 0.0, 0.0)

See Also