Difference between revisions of "SetPos"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Omzy
m
imported>Cipscis
m (Putting parameters on the same line)
Line 10: Line 10:
   |Type = char
   |Type = char
   |Value = X, Y, Z
   |Value = X, Y, Z
   }}
   }}{{FunctionArgument
  {{FunctionArgument
   |Name = Pos
   |Name = Pos
   |Type = float
   |Type = float

Revision as of 01:47, 31 July 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