{"name":"BIS_fnc_wpDemine","title":"BIS fnc wpDemine","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_wpDemine","revid":310701,"updated":"2022-05-06T11:19:11Z","groups":["Waypoints"],"status":"ok","games":{"arma3":"1.76"},"since":"arma3 1.76","arma3_since":"1.76","description":"Scripted \"CLEAR MINES\" Advanced Waypoint.\nThe script needs a unit with the abiility to demine (engineer or explosive specialist trait **and** a toolkit).","syntaxes":[{"syntax":"[group, position, target, clearUnknownMines] call BIS_fnc_wpDemine","params":[{"name":"group","type":"Group","description":"a group with a mine expert","type_expr":"Group"},{"name":"position","type":"Position","description":"the demining centre. Demining radius is defined by waypointCompletionRadius, and defaults to 50 if set to 0","type_expr":"Position"},{"name":"target","type":"Anything","optional":true,"default":"objNull","description":"unused parameter","type_expr":"Anything","text":"target: Anything - (Optional, default objNull) unused parameter"},{"name":"clearUnknownMines","type":"Boolean","optional":true,"default":"true","description":"should the group demine all mines or only the one its side knows about","type_expr":"Boolean","text":"clearUnknownMines: Boolean - (Optional, default true) should the group demine all mines or only the one its side knows about"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[group player, getMarkerPos \"mineField\", objNull, false] call BIS_fnc_wpDemine;"]}],"see_also":["Waypoints"]}