position

From Bohemia Interactive Community
Revision as of 13:18, 26 November 2007 by Ceeeb (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns an object's or (in ArmA 1.08 onwards) location's position. If using a location that is attached to an object, the location's set or created position is returned rather than object's position.
Groups:
Uncategorised

Syntax

Syntax:
Position = position ObjectOrLocation
Parameters:
ObjectOrLocation: An Object or Location
Return Value:
Position

Examples

Example 1:
_Pos = position player
Example 2:
_myLocationHomePos = position myLocation

Additional Information

See also:
locationPositiongetPos

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section