Difference between revisions of "GetPos"
Jump to navigation
Jump to search
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 = | |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:Movement Functions]] | [[Category:Movement Functions]] | ||
[[Category:Condition Functions]] | [[Category:Condition Functions]] |