BIS fnc gridToPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "{{Inline code|" to "{{ic|")
Line 13: Line 13:
| gridPosition call [[BIS_fnc_gridToPos]]
| gridPosition call [[BIS_fnc_gridToPos]]


|p1= gridPosition: [[String]] - (Optional, default {{Inline code|[[mapGridPosition]] [[position]] [[cameraOn]]}}) accepts both "024577" or "De82" format
|p1= gridPosition: [[String]] - (Optional, default {{ic|[[mapGridPosition]] [[position]] [[cameraOn]]}}) accepts both "024577" or "De82" format


| [[Array]] - to format [<nowiki/>[gridX, gridY], [gridWidth, gridHeight]] (all of [[Number]] type)
| [[Array]] - to format [<nowiki/>[gridX, gridY], [gridWidth, gridHeight]] (all of [[Number]] type)

Revision as of 18:12, 27 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Positions

Syntax

Syntax:
Syntax needed
Parameters:
gridPosition: String - (Optional, default mapGridPosition position cameraOn) accepts both "024577" or "De82" format
Return Value:
Return value needed

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