SetPos

From GECK
Jump to: navigation, search
Link to TES4 Construction Set Wiki: SetPos.

A function included in the GECK version 1.1.0.36.

Description

Sets the position of the calling object relative to the world on the specified axis (X, Y, or Z).

Syntax

[help]
[Object].SetPos Axis:char{X, Y, Z} Pos:float

Example

ActorRef.SetPos Z 10520
Player.SetPos X 566.34

Notes

  • Consider using MoveTo if you are trying to place objects in remote cells.
  • This function will work on Activators with no issues, but Static forms will not be affected unless they are spawned dynamically via PlaceAtMe.

See Also