Difference between revisions of "GetPos"
Jump to navigation
Jump to search
imported>DewiMorgan (→Summary: clarifying it returns only one of the three, not a triplet.) |
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = GECK1 | |CSWikiPage = GetPos | ||
|summary = | |origin = GECK1 | ||
|referenceType = | |summary = Gets the position of the calling object relative to the world on the specified axis (X, Y, or Z). | ||
|arguments = {{FunctionArgument | |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== | ==See Also== | ||
*[[SetPos]] | *[[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
(float) [Object].GetPos Axis:char{X, Y, Z}
Example
ActorRef.GetPos Z Player.GetPos X
Notes
- None at this time.