Difference between revisions of "SetPos"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Omzy
(made match template and other movement articles)
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(5 intermediate revisions by 3 users not shown)
Line 10: Line 10:
   |Type = char
   |Type = char
   |Value = X, Y, Z
   |Value = X, Y, Z
  }}{{FunctionArgument
  |Name = Pos
  |Type = float
   }}
   }}
  |example = ActorRef.SetPos Z 44
  |example = ActorRef.SetPos Z 10520
  Player.SetPos X 28.8
  Player.SetPos X 566.34
}}
}}
== Notes ==
== Notes ==
Line 26: Line 29:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Movement Functions]]
[[Category:Movement Functions]]
[[Category:Movement Functions (GECK 1.1)]]

Latest revision as of 13:12, 15 August 2009

< [[::Category:Functions|Category:Functions]]

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.

See Also