Difference between revisions of "SetPos"

Jump to navigation Jump to search
6 bytes removed ,  23:56, 30 July 2009
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 = Changes the object's world-position along the specified axis (x, y, z). Position is a float.
|origin = GECK1
|referenceType = <nowiki>ObjectID</nowiki>
|summary = Sets the position of the calling object relative to the world on the specified axis (X, Y, or Z).
|arguments = {{FunctionArgument
|name = SetPos
    |Name = axis
|referenceType = [Object]
    |Type = string
|arguments =  
    |Value = X, Y, Z
  {{FunctionArgument
  }}{{FunctionArgument
  |Name = Axis
    |Name = position
  |Type = char
    |Type = float
  |Value = X, Y, Z
   }}
   }}
|example = ActorRef.SetPos Z 44
Player.SetPos X 28.8
}}
}}
==Examples==
== Notes ==
myObjectRef.SetPos y 100.56
*Consider using [[MoveTo]] if you are trying to place objects in remote cells.
Moves the object to the y-axis position 100.56


==See Also==
==See Also==
*[[GetPos]]
*[[GetPos]]
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/SetPos SetPos].
*[[MoveTo]]
*[[GetAngle]]
*[[SetAngle]]
*[[GetHeadingAngle]]
*[[Rotate]]


[[Category:Functions]]
[[Category:Functions]]
[[Category:Movement Functions]]
[[Category:Movement Functions]]
Anonymous user

Navigation menu