position location: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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.|= 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.|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


| [[Array]] - format [[Position]]|= Return value
| [[Array]] - format [[Position]]|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_myLocationHomePos<nowiki> =</nowiki> position myLocation</code> |= Example 1
|x1= <code>_myLocationHomePos<nowiki> =</nowiki> position myLocation</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[locationPosition]] |= See also
| [[locationPosition]] |SEEALSO=


}}
}}

Revision as of 15:44, 7 April 2019

-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