revealMine: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also/ example) |
No edit summary |
||
Line 40: | Line 40: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on September 10, 2017 - 21:59 (UTC)</dd> | |||
<dt class="note">[[User:AgentRevolution|AgentRevolution]]</dt> | |||
<dd class="note"> | |||
Manual mine detection introduced in A3 v1.76 can be overridden with something like this: | |||
<code>0 spawn | |||
{ | |||
while {true} do | |||
{ | |||
{ | |||
if (mineActive _x && !(_x mineDetectedBy playerSide)) then | |||
{ | |||
playerSide revealMine _x; | |||
}; | |||
} forEach (player nearObjects ["MineBase", 10]); | |||
uiSleep 0.1; | |||
}; | |||
};</code> | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 22:59, 10 September 2017
Description
- Description:
- Sets given mine as known to the side. (Knowledge about a mine is always shared across all units in a side.)
- Groups:
- Uncategorised
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)
- AgentRevolution
-
Manual mine detection introduced in A3 v1.76 can be overridden with something like this:
0 spawn { while {true} do { { if (mineActive _x && !(_x mineDetectedBy playerSide)) then { playerSide revealMine _x; }; } forEach (player nearObjects ["MineBase", 10]); uiSleep 0.1; }; };