mapGridPosition

From Bohemia Interactive Community
Revision as of 20:18, 11 May 2018 by R3vo (talk | contribs) (example formatting)
Jump to navigation Jump to search

{{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