mineActive: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality added)
(see also/ example)
Line 19: Line 19:




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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


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

Revision as of 20:18, 20 June 2014

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