mineActive: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also/ example)
m (template:command argument fix)
Line 14: Line 14:
| '''mineActive''' obj |= Syntax
| '''mineActive''' obj |= Syntax


|p1= obj: [[Object]]  |= PARAMETER1
|p1= obj: [[Object]]  |PARAMETER1=  


| [[Boolean]] |= RETURNVALUE
| [[Boolean]] |RETURNVALUE=  




|x1= <code>[[if]] ([[mineActive]] _mine) [[then]] {[[hint]] "BOOM!"}; </code>|= EXAMPLE1
|x1= <code>[[if]] ([[mineActive]] _mine) [[then]] {[[hint]] "BOOM!"}; </code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[allMines]], [[detectedMines]], [[mineDetectedBy]], [[createMine]], [[revealMine]] |= SEEALSO
| [[allMines]], [[detectedMines]], [[mineDetectedBy]], [[createMine]], [[revealMine]] |SEEALSO=  


| |= MPBEHAVIOUR
| |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:35, 7 April 2019

Hover & click on the images for description

Description

Description:
Checks if the given mine is active.
Groups:
Uncategorised

Syntax

Syntax:
mineActive obj
Parameters:
obj: Object
Return Value:
Boolean

Examples

Example 1:
if (mineActive _mine) then {hint "BOOM!"};

Additional Information

See also:
allMinesdetectedMinesmineDetectedBycreateMinerevealMine

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