Difference between revisions of "GetPos"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>DewiMorgan
(→‎See Also: restored cs link)
imported>DewiMorgan
(→‎Summary: clarifying it returns only one of the three, not a triplet.)
Line 1: Line 1:
{{Function
{{Function
|origin = GECK1
|origin = GECK1
|summary = Returns the object's world-position for the specified axis (x, y, z). Return value is a float.
|summary = Returns the object's world-position for the specified axis (x, y or z). Return value is a float.
|referenceType = <nowiki>ObjectID</nowiki>
|referenceType = <nowiki>ObjectID</nowiki>
|arguments = {{FunctionArgument
|arguments = {{FunctionArgument

Revision as of 10:00, 13 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 or z). Return value is a float.

Syntax

[help]
ObjectID.GetPos axis:string{X, Y, Z}

Examples

myObjectRef.GetPos y

Gets the y-axis position myObjectRef.

See Also