BIS fnc gridToPos: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00|Game version= | |1.00|Game version= |
Revision as of 21:46, 30 August 2019
Description
- Description:
- Converts grid coordinates to world position.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- gridPosition call BIS_fnc_gridToPos
- Parameters:
- gridPosition: String - (Optional, default
mapGridPosition position cameraOn
) accepts both "024577" or "De82" format - Return Value:
- Array - to format [[gridX, gridY], [gridWidth, gridHeight]] (all of Number type)
Examples
- Example 1:
_realPosition = "183221" call BIS_fnc_gridToPos;
- Example 2:
_realPosition = "He11" call BIS_fnc_gridToPos;
Additional Information
- See also:
- mapGridPosition
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