mineActive: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|arg= global | |arg= global | ||
|gr1= Mines | |gr1= Mines | ||
| Checks if the given mine is active. | | Checks if the given mine is active. | ||
| '''mineActive''' obj | | '''mineActive''' obj | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>[[if]] ([[mineActive]] _mine) [[then]] {[[hint]] "BOOM!"}; </code> | |x1= <code>[[if]] ([[mineActive]] _mine) [[then]] {[[hint]] "BOOM!"}; </code> | ||
| [[allMines]], [[detectedMines]], [[mineDetectedBy]], [[createMine]], [[revealMine]] | | [[allMines]], [[detectedMines]], [[mineDetectedBy]], [[createMine]], [[revealMine]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:02, 18 January 2021
Description
- Description:
- Checks if the given mine is active.
- Groups:
- Mines
Syntax
Examples
- Example 1:
if (mineActive _mine) then {hint "BOOM!"};
Additional Information
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