allMines: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
mNo edit summary
 
Line 10: Line 10:
|s1= [[allMines]]
|s1= [[allMines]]


|r1= [[Array]]
|r1= [[Array]] of [[Object]]s


|x1= <sqf>hint format ["there are %1 mines total", count allMines];</sqf>
|x1= <sqf>hint format ["there are %1 mines total", count allMines];</sqf>

Latest revision as of 11:55, 1 January 2026

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 of Objects

Examples

Example 1:
hint format ["there are %1 mines total", count allMines];
Example 2:
private _isFirstMineDetected = (allMines select 0) mineDetectedBy blufor;

Additional Information

See also:
detectedMines mineDetectedBy createMine mineActive revealMine allMissionObjects

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note