Arma 3 Scripting

Command in Mines

allMines

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns an array of all mines in the mission

Syntax

allMines

Returns: Array of Objects

Examples

Example 1

hint format ["there are %1 mines total", count allMines];

Example 2

private _isFirstMineDetected = (allMines select 0) mineDetectedBy blufor;

See also

detectedMines · mineDetectedBy · createMine · mineActive · revealMine · allMissionObjects