detectedMines: Difference between revisions

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


|x1= <code>[[detectedMines]] [[west]];</code>
|x1= <sqf>detectedMines west;</sqf>


|x2= <code>[[detectedMines]] [[side]] [[player]];</code>
|x2= <code>[[detectedMines]] [[side]] [[player]];</code>

Revision as of 14:10, 5 May 2022

Hover & click on the images for description

Description

Description:
Returns an array of all mines detected by a given side
Groups:
Mines

Syntax

Syntax:
detectedMines side
Parameters:
side: side
Return Value:
Array

Examples

Example 1:
detectedMines west;
Example 2:
detectedMines side player;

Additional Information

See also:
allMines mineDetectedBy createMine mineActive revealMine

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