allMines: 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 in the mission |DESCRIPTION=
|Returns an array of all mines in the mission |DESCRIPTION=
____________________________________________________________________________________________


| '''allMines''' |SYNTAX=
| '''allMines''' |SYNTAX=


| [[Array]] |RETURNVALUE=
| [[Array]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[allMines]]</code> |EXAMPLE1=
|x1= <code>[[allMines]]</code> |EXAMPLE1=


|x2= <code>([[allMines]] [[select]] 0) [[mineDetectedBy]] [[west]];</code> |EXAMPLE2=
|x2= <code>([[allMines]] [[select]] 0) [[mineDetectedBy]] [[west]];</code> |EXAMPLE2=
____________________________________________________________________________________________


| [[detectedMines]], [[mineDetectedBy]], [[createMine]], [[mineActive]], [[revealMine]], [[allMissionObjects]] |SEEALSO=
| [[detectedMines]], [[mineDetectedBy]], [[createMine]], [[mineActive]], [[revealMine]], [[allMissionObjects]] |SEEALSO=

Revision as of 23:59, 16 January 2021

Hover & click on the images for description

Description

Description:
Returns an array of all mines in the mission
Groups:
Mines

Syntax

Syntax:
allMines
Return Value:
Array

Examples

Example 1:
allMines
Example 2:
(allMines select 0) mineDetectedBy west;

Additional Information

See also:
detectedMinesmineDetectedBycreateMinemineActiverevealMineallMissionObjects

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