detectedMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.24


|1.24|Game version=
|gr1= Mines


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


____________________________________________________________________________________________
|s1= [[detectedMines]] side


|Returns an array of all mines detected by a given side |DESCRIPTION=
|p1= side: [[side]]
____________________________________________________________________________________________


| '''detectedMines''' side |SYNTAX=
|r1= [[Array]]


|x1= <sqf>detectedMines west;</sqf>


|p1= side: [[side]]  |PARAMETER1=
|x2= <sqf>detectedMines side player;</sqf>
 
| [[Array]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>[[detectedMines]] [[west]];</code> |EXAMPLE1=
 
|x2= <code>[[detectedMines]] [[side]] [[player]];</code> |EXAMPLE2=
____________________________________________________________________________________________
 
| [[allMines]], [[mineDetectedBy]], [[createMine]], [[mineActive]], [[revealMine]] |SEEALSO=


|seealso= [[allMines]] [[mineDetectedBy]] [[createMine]] [[mineActive]] [[revealMine]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{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