detectedMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.24
|1.24


|gr1= Mines
|gr1= Mines


|descr=Returns an array of all mines detected by a given side


|Returns an array of all mines detected by a given side
|s1= [[detectedMines]] side
 
| '''detectedMines''' side
 


|p1= side: [[side]]
|p1= side: [[side]]


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


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


| [[allMines]], [[mineDetectedBy]], [[createMine]], [[mineActive]], [[revealMine]]
|x2= <sqf>detectedMines side player;</sqf>


|seealso= [[allMines]] [[mineDetectedBy]] [[createMine]] [[mineActive]] [[revealMine]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14:11, 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