mapGridPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (example formatting)
m (example formatting)
Line 17: Line 17:




|x1= <pre>_gridPos = '''mapGridPosition''' [[player]]</pre> |= EXAMPLE1  
|x1= <code>_gridPos = '''mapGridPosition''' [[player]]</code>|= EXAMPLE1  


|x2= <pre>_gridPos = '''mapGridPosition''' [[getPos [[player]]</pre> |= EXAMPLE2  
|x2= <code>_gridPos = '''mapGridPosition''' [[getPos [[player]]</code> |= EXAMPLE2  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 21: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 ____________________________________________________________________________________________ }}

Notes

Bottom Section