BIS fnc gridToPos: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
Lou Montana (talk | contribs) m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ") |
||
Line 16: | Line 16: | ||
|r1= [[Array]] - to format [<nowiki/>[gridX, gridY], [gridWidth, gridHeight]] (all of [[Number]] type) | |r1= [[Array]] - to format [<nowiki/>[gridX, gridY], [gridWidth, gridHeight]] (all of [[Number]] type) | ||
|x1= <code>_realPosition = "183221" [[call]] [[BIS_fnc_gridToPos]];</code> | |x1= <code>[[private]] _realPosition = "183221" [[call]] [[BIS_fnc_gridToPos]];</code> | ||
|x2= <code>_realPosition = "He11" [[call]] [[BIS_fnc_gridToPos]];</code> | |x2= <code>[[private]] _realPosition = "He11" [[call]] [[BIS_fnc_gridToPos]];</code> | ||
|seealso= [[mapGridPosition]] | |seealso= [[mapGridPosition]] | ||
}} | }} |
Revision as of 12:06, 6 May 2022
Description
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:
private _realPosition = "183221" call BIS_fnc_gridToPos;
- Example 2:
private _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