position: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added location)
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns an object's or location's position. |= Description
| Returns an object's or location's position. If using a location and that location is attached to an object, the location's set position is returned rather than the position of the object.|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 13:15, 26 November 2007

Hover & click on the images for description

Description

Description:
Returns an object's or location's position. If using a location and that location is attached to an object, the location's set position is returned rather than the position of the object.
Groups:
Uncategorised

Syntax

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

Examples

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

Additional Information

See also:
See also needed

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