allMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|x([0-9]) ?= ?<code>([^\]]+)?\[\[([a-zA-Z0-9_]+)\]\]([^\]]+)?<\/code>" to "|x$1= <sqf>$2$3$4</sqf>")
Line 12: Line 12:
|r1= [[Array]]
|r1= [[Array]]


|x1= <code>[[allMines]]</code>
|x1= <sqf>allMines</sqf>


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

Revision as of 20:49, 7 May 2022

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:
detectedMines mineDetectedBy createMine mineActive revealMine allMissionObjects

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