BIS fnc wpDemine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
m (Text replacement - "{{Function" to "{{RV|type=function ")
Line 1: Line 1:
{{Function| arma3|1.76|gr1= Waypoints| Scripted "CLEAR MINES" [[Waypoints|Advanced Waypoint]].
{{RV|type=function
| arma3|1.76|gr1= Waypoints| Scripted "CLEAR MINES" [[Waypoints|Advanced Waypoint]].
The script needs a unit with the abiility to demine (engineer or explosive specialist [[getUnitTrait|trait]] '''and''' a toolkit).| [group, position, target, clearUnknownMines] call [[BIS_fnc_wpDemine]]_group = _this param [0,grpnull,[grpnull]];
The script needs a unit with the abiility to demine (engineer or explosive specialist [[getUnitTrait|trait]] '''and''' a toolkit).| [group, position, target, clearUnknownMines] call [[BIS_fnc_wpDemine]]_group = _this param [0,grpnull,[grpnull]];
_pos = _this param [1,[],[[]],3];
_pos = _this param [1,[],[[]],3];

Revision as of 12:45, 24 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Waypoints

Syntax

Syntax:
Syntax needed
Parameters:
group: Group - a group with a mine expert
position: Position - the demining centre. Demining radius is defined by waypointCompletionRadius, and defaults to 50 if set to 0
target: Anything - (Optional, default objNull) unused parameter
clearUnknownMines: Boolean - (Optional, default true) should the group demine all mines or only the one its side knows about
Return Value:
Return value needed

Examples

Example 1:
[group player, getMarkerPos "mineField", objNull, false] call BIS_fnc_wpDemine;

Additional Information

See also:
See also needed

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