GetPositionZ - ObjectReference

From the CreationKit Wiki
Revision as of 16:56, 21 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Returns the current Z position of the reference.

Syntax

float Function GetPositionZ() native

Parameters

None.

Return Value

The current Z position of the reference.

Examples

Debug.Trace("The box has an z position of: " + box.GetPositionZ())

Notes

The object reference's Z property also returns this value.

See Also