revealMine: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{RV\|type=command \| arma3 \| *([0-9]\.[0-9]{2}) * \|gr1=(.*) \|(.*) \|(.*) \|p1=(.*) \|p2=(.*) \|(.*) \|x1=(.*) \|seealso=(.*) \}\} " to "{{RV|type=command |game1= arma3 |version1= $1 |gr1=$2 |descr=$3 |s1=$4 |p1=...) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 0.50 | |||
|0.50 | |||
|gr1= Mines | |gr1= Mines | ||
| Sets given mine as known to the side. (Knowledge about a mine is always shared across all units in a side.) | |descr= Sets given mine as known to the side. (Knowledge about a mine is always shared across all units in a side.) | ||
| side '''revealMine''' mine | |s1= side '''revealMine''' mine | ||
|p1= side: [[Side]] | |p1= side: [[Side]] | ||
Line 15: | Line 14: | ||
|p2= mine: [[Object]] | |p2= mine: [[Object]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[[west]] [[revealMine]] _mine;</code> | |x1= <code>[[west]] [[revealMine]] _mine;</code> |
Revision as of 17:32, 9 June 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
- 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; }; }; };