mineDetectedBy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


|Returns [[true]] if mine has been detected by a given side |= Description
|Returns [[true]] if mine has been detected by a given side |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| mine '''mineDetectedBy''' faction |= Syntax
| mine '''mineDetectedBy''' faction |SYNTAX=


|p1= mine: [[Object]]  |PARAMETER1=
|p1= mine: [[Object]]  |PARAMETER1=
Line 17: Line 17:
|p2= faction: [[Side]]  |PARAMETER2=
|p2= faction: [[Side]]  |PARAMETER2=


| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>([[allMines]] [[select]] 0) [[mineDetectedBy]] [[west]];</code> |= Example 1
|x1= <code>([[allMines]] [[select]] 0) [[mineDetectedBy]] [[west]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[allMines]], [[detectedMines]], [[createMine]], [[mineActive]], [[revealMine]] |= See also
| [[allMines]], [[detectedMines]], [[createMine]], [[mineActive]], [[revealMine]] |SEEALSO=


}}
}}

Revision as of 15:43, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns true if mine has been detected by a given side
Groups:
Uncategorised

Syntax

Syntax:
mine mineDetectedBy faction
Parameters:
mine: Object
faction: Side
Return Value:
Boolean

Examples

Example 1:
(allMines select 0) mineDetectedBy west;

Additional Information

See also:
allMinesdetectedMinescreateMinemineActiverevealMine

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

Notes

Bottom Section