Difference between revisions of "GetPos"

Jump to navigation Jump to search
23 bytes added ,  23:51, 30 July 2009
made match template
imported>DewiMorgan
(→‎Summary: clarifying it returns only one of the three, not a triplet.)
imported>Omzy
(made match template)
Line 1: Line 1:
{{Function
{{Function
|origin = GECK1
|CSWikiPage = GetPos
|summary = Returns the object's world-position for the specified axis (x, y or z). Return value is a float.
|origin = GECK1
|referenceType = <nowiki>ObjectID</nowiki>
|summary = Gets the position of the calling object relative to the world on the specified axis (X, Y, or Z).
|arguments = {{FunctionArgument
|name = GetPos
    |Name = axis
|returnType = float
    |Type = string
|referenceType = [Object]
    |Value = X, Y, Z
|arguments =  
  {{FunctionArgument
  |Name = Axis
  |Type = char
  |Value = X, Y, Z
   }}
   }}
|example = ActorRef.GetPos Z
Player.GetPos X
}}
}}
==Examples==
== Notes ==
myObjectRef.GetPos y
*None at this time.
Gets the y-axis position myObjectRef.


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


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

Navigation menu