BIS fnc posToGrid: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 5: | Line 5: | ||
|version1= 1.00 | |version1= 1.00 | ||
|gr1 = Positions | |gr1 = Positions | ||
|descr= Converts array position to map grid position. | |descr= Converts array position to map grid position. | ||
Line 11: | Line 11: | ||
|s1= element call [[BIS_fnc_posToGrid]] | |s1= element call [[BIS_fnc_posToGrid]] | ||
|p1= element: [[Object]], [[Array]] in format [[Position]] or [[String]] marker name | |p1= element: [[Object]], [[Array]] in format [[Position]] or [[String]] marker name |
Revision as of 23:36, 17 January 2021
Description
Syntax
- Syntax:
- element call BIS_fnc_posToGrid
- Parameters:
- element: Object, Array in format Position or String marker name
- Return Value:
- Array of Strings - format ["X", "Y"]
Examples
- Example 1:
player call BIS_fnc_posToGrid; // ["046", "049"]
Additional Information
- See also:
- BIS_fnc_gridToPos 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