BIS_fnc_gridToPos

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Converts grid coordinates to world position.
Correct results outside of the map area are not guaranteed.

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

Execution:
call
Multiplayer:
-
See also:
mapGridPosition

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section