mapGridPosition: Difference between revisions
m (example formatting) |
m (example formatting) |
||
Line 17: | Line 17: | ||
|x1= < | |x1= <code>_gridPos = '''mapGridPosition''' [[player]]</code>|= EXAMPLE1 | ||
|x2= < | |x2= <code>_gridPos = '''mapGridPosition''' [[getPos [[player]]</code> |= EXAMPLE2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 20:18, 11 May 2018
{{Command|= Comments ____________________________________________________________________________________________
| arma2 |= Game name
|1.04|= Game version ____________________________________________________________________________________________
| Returns the map grid position of an object or position. The format is determined by the Grid format specified in the CfgWorlds for the current world. Eg: "024577" or "De82" or similar. |= Description ____________________________________________________________________________________________
| mapGridPosition param |= Syntax
|p1= param: Object or Position - determines reference position |= PARAMETER1
| String - grid position |= RETURNVALUE
|x1= _gridPos = mapGridPosition player
|= EXAMPLE1
|x2= _gridPos = mapGridPosition [[getPos player
|= EXAMPLE2
____________________________________________________________________________________________
| BIS_fnc_gridToPos |= SEEALSO
| |= MPBEHAVIOUR ____________________________________________________________________________________________ }}