position location: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(created a new page for different usage.)
 
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Position]] <nowiki>=</nowiki> '''position''' [[Location]]|= Syntax
| [[Array]] <nowiki>=</nowiki> '''position''' location |= Syntax


|p1= [[Location]] |= Parameter 1
|p1= location: [[Location]] |= Parameter 1


| [[Position]]|= Return value
| [[Array]] - format [[Position]]|= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   

Revision as of 23:42, 23 January 2009

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

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

Syntax

Syntax:
Array = position location
Parameters:
location: Location
Return Value:
Array - format Position

Examples

Example 1:
_myLocationHomePos = position myLocation

Additional Information

See also:
locationPosition

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