Difference between revisions of "SetPos"
made match template and other movement articles
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]] |