detectedMines: Difference between revisions

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


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


|gr1= Mines
|gr1= Mines


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


| '''detectedMines''' side
|s1= [[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 15: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