Difference between revisions of "SetPos"
Jump to navigation
Jump to search
imported>Omzy m |
imported>Omzy m |
||
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 10520 | |example = ActorRef.SetPos Z 10520 |
Revision as of 00:01, 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
[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.