Difference between revisions of "GetPos"

313 bytes added ,  13:33, 15 August 2009
m
Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))
imported>BonzoFSP
(Transferred content from TES site. Disconnected from TES site.)
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Function
{{Function
|origin = GECK1
|CSWikiPage = GetPos
|summary = Returns the object's world-position for the specified axis (x, y, 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
|referenceType = [Object]
|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==
*[[SetPos]]
*[[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)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]
Anonymous user