allMines: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.24 | |1.24 | ||
|gr1= Mines | |gr1= Mines | ||
|Returns an array of all mines in the mission | |Returns an array of all mines in the mission | ||
| '''allMines''' | | '''allMines''' | ||
| [[Array]] | | [[Array]] | ||
|x1= <code>[[allMines]]</code> | |x1= <code>[[allMines]]</code> | ||
|x2= <code>([[allMines]] [[select]] 0) [[mineDetectedBy]] [[west]];</code> | |x2= <code>([[allMines]] [[select]] 0) [[mineDetectedBy]] [[west]];</code> | ||
| [[detectedMines]], [[mineDetectedBy]], [[createMine]], [[mineActive]], [[revealMine]], [[allMissionObjects]] | | [[detectedMines]], [[mineDetectedBy]], [[createMine]], [[mineActive]], [[revealMine]], [[allMissionObjects]] | ||
}} | }} |
Revision as of 00:02, 18 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