allMines: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) 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
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
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