SetPos

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

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, Static Collections, Tree, Flora, and Furniture forms will not be affected unless they are spawned dynamically, likely done via PlaceAtMe.
  • Moving an object with SetPos that supports dynamic Navmesh cutting will not have the cutout update. Use Update3D after moving to resume normal behavior.

See Also