detectedMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:
|gr1= Mines |GROUP1=
|gr1= Mines |GROUP1=


____________________________________________________________________________________________


|Returns an array of all mines detected by a given side |DESCRIPTION=
|Returns an array of all mines detected by a given side |DESCRIPTION=
____________________________________________________________________________________________


| '''detectedMines''' side |SYNTAX=
| '''detectedMines''' side |SYNTAX=
Line 19: Line 16:


| [[Array]] |RETURNVALUE=
| [[Array]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[detectedMines]] [[west]];</code> |EXAMPLE1=
|x1= <code>[[detectedMines]] [[west]];</code> |EXAMPLE1=


|x2= <code>[[detectedMines]] [[side]] [[player]];</code> |EXAMPLE2=
|x2= <code>[[detectedMines]] [[side]] [[player]];</code> |EXAMPLE2=
____________________________________________________________________________________________


| [[allMines]], [[mineDetectedBy]], [[createMine]], [[mineActive]], [[revealMine]] |SEEALSO=
| [[allMines]], [[mineDetectedBy]], [[createMine]], [[mineActive]], [[revealMine]] |SEEALSO=

Revision as of 00:44, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns an array of all mines detected by a given side
Groups:
Mines

Syntax

Syntax:
detectedMines side
Parameters:
side: side
Return Value:
Array

Examples

Example 1:
detectedMines west;
Example 2:
detectedMines side player;

Additional Information

See also:
allMinesmineDetectedBycreateMinemineActiverevealMine

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

Notes

Bottom Section