Difference between revisions of "SetPos"
Jump to navigation
Jump to search
imported>Wkilleen |
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Function | |||
|CSWikiPage = SetPos | |||
|origin = GECK1 | |||
|summary = Sets the position of the calling object relative to the world on the specified axis (X, Y, or Z). | |||
|name = SetPos | |||
|referenceType = [Object] | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = Axis | |||
|Type = char | |||
|Value = X, Y, Z | |||
}}{{FunctionArgument | |||
|Name = Pos | |||
|Type = 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== | |||
*[[GetPos]] | |||
*[[MoveTo]] | |||
*[[GetAngle]] | |||
*[[SetAngle]] | |||
*[[GetHeadingAngle]] | |||
*[[Rotate]] | |||
[[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
[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.