Difference between revisions of "SetPos"
Jump to navigation
Jump to search
imported>DewiMorgan (→See Also: restored cs link) |
imported>Omzy (made match template and other movement articles) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = GECK1 | |CSWikiPage = SetPos | ||
|summary = | |origin = GECK1 | ||
|referenceType = | |summary = Sets the position of the calling object relative to the world on the specified axis (X, Y, or Z). | ||
|arguments = {{FunctionArgument | |name = SetPos | ||
|referenceType = [Object] | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = Axis | |||
|Type = char | |||
|Value = X, Y, Z | |||
}} | }} | ||
|example = ActorRef.SetPos Z 44 | |||
Player.SetPos X 28.8 | |||
}} | }} | ||
== | == Notes == | ||
*Consider using [[MoveTo]] if you are trying to place objects in remote cells. | |||
==See Also== | ==See Also== | ||
*[[GetPos]] | *[[GetPos]] | ||
* | *[[MoveTo]] | ||
*[[GetAngle]] | |||
*[[SetAngle]] | |||
*[[GetHeadingAngle]] | |||
*[[Rotate]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Movement Functions]] | [[Category:Movement Functions]] |
Revision as of 23:56, 30 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}
Example
ActorRef.SetPos Z 44 Player.SetPos X 28.8
Notes
- Consider using MoveTo if you are trying to place objects in remote cells.