Difference between revisions of "GetPos"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Wkilleen
 
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetPos GetPos].
{{Function
|CSWikiPage = GetPos
|origin = GECK1
|summary = Gets the position of the calling object relative to the world on the specified axis (X, Y, or Z).
|name = GetPos
|returnType = float
|referenceType = [Object]
|arguments =
  {{FunctionArgument
  |Name = Axis
  |Type = char
  |Value = X, Y, Z
  }}
|example = ActorRef.GetPos Z
Player.GetPos X
}}
== Notes ==
*None at this time.
 
==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)]]

Latest revision as of 12:33, 15 August 2009

< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: GetPos.

A function included in the GECK version 1.1.0.36.

Description

Gets the position of the calling object relative to the world on the specified axis (X, Y, or Z).

Syntax

[help]
(float) [Object].GetPos Axis:char{X, Y, Z}

Example

ActorRef.GetPos Z
Player.GetPos X

Notes

  • None at this time.

See Also