revealMine: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Mines |GROUP1= | |gr1= Mines |GROUP1= | ||
| Sets given mine as known to the side. (Knowledge about a mine is always shared across all units in a side.) |DESCRIPTION= | | Sets given mine as known to the side. (Knowledge about a mine is always shared across all units in a side.) |DESCRIPTION= | ||
| side '''revealMine''' mine |SYNTAX= | | side '''revealMine''' mine |SYNTAX= | ||
Line 23: | Line 20: | ||
|x1= <code>[[west]] [[revealMine]] _mine;</code>|EXAMPLE1= | |x1= <code>[[west]] [[revealMine]] _mine;</code>|EXAMPLE1= | ||
| [[allMines]], [[detectedMines]], [[mineDetectedBy]], [[createMine]], [[mineActive]] |SEEALSO= | | [[allMines]], [[detectedMines]], [[mineDetectedBy]], [[createMine]], [[mineActive]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 02:16, 17 January 2021
Description
- Description:
- Sets given mine as known to the side. (Knowledge about a mine is always shared across all units in a side.)
- Groups:
- Mines
Syntax
Examples
- Example 1:
west revealMine _mine;
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
Notes
Bottom Section
- Posted on September 10, 2017 - 21:59 (UTC)
- AgentRev
-
Manual mine detection introduced in A3 v1.76 can be overridden with something like this:
0 spawn { while {true} do { if ("MineDetector" in items player) then { { if (mineActive _x && !(_x mineDetectedBy playerSide)) then { playerSide revealMine _x; }; } forEach (player nearObjects ["MineBase", 10]); uiSleep 0.1; } else { uiSleep 3; }; }; };