Difference between revisions of "GetPos"
Jump to navigation
Jump to search
imported>BonzoFSP (Transferred content from TES site. Disconnected from TES site.) |
imported>Cipscis (Updated parameter information; Added "See Also") |
||
Line 5: | Line 5: | ||
|arguments = {{FunctionArgument | |arguments = {{FunctionArgument | ||
|Name = axis | |Name = axis | ||
|Type = string | |||
|Value = X, Y, Z | |||
}} | }} | ||
}} | }} | ||
Line 10: | Line 12: | ||
myObjectRef.GetPos y | myObjectRef.GetPos y | ||
Gets the y-axis position myObjectRef. | Gets the y-axis position myObjectRef. | ||
==See Also== | |||
[[SetPos]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Movement Functions]] | [[Category:Movement Functions]] | ||
[[Category:Condition Functions]] | [[Category:Condition Functions]] |
Revision as of 22:06, 10 April 2009
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Returns the object's world-position for the specified axis (x, y, z). Return value is a float.
Syntax
ObjectID.GetPos axis:string{X, Y, Z}
Examples
myObjectRef.GetPos y
Gets the y-axis position myObjectRef.