position location: Difference between revisions
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.|= | | 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 |= | | [[Array]] <nowiki>=</nowiki> '''position''' location |SYNTAX= | ||
|p1= location: [[Location]] |= | |p1= location: [[Location]] |PARAMETER1= | ||
| [[Array]] - format [[Position]]|= | | [[Array]] - format [[Position]]|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_myLocationHomePos<nowiki> =</nowiki> position myLocation</code> |= | |x1= <code>_myLocationHomePos<nowiki> =</nowiki> position myLocation</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[locationPosition]] |= | | [[locationPosition]] |SEEALSO= | ||
}} | }} |
Revision as of 14:44, 7 April 2019
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