Difference between revisions of "GetPos"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-Link to TES4 Construction Set Wiki +{{Incomplete}}\n\nLink to TES4 Construction Set Wiki))
imported>BonzoFSP
(Transferred content from TES site. Disconnected from TES site.)
Line 1: Line 1:
{{Incomplete}}
{{Function
 
|origin = GECK1
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetPos GetPos].
|summary = Returns the object's world-position for the specified axis (x, y, z). Return value is a float.
|referenceType = <nowiki>ObjectID</nowiki>
|arguments = {{FunctionArgument
    |Name = axis
  }}
}}
==Examples==
myObjectRef.GetPos y
Gets the y-axis position myObjectRef.


[[Category:Functions]]
[[Category:Functions]]
[[Category:Movement Functions]]
[[Category:Movement Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]

Revision as of 18:02, 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

[help]
ObjectID.GetPos axis

Examples

myObjectRef.GetPos y

Gets the y-axis position myObjectRef.