BIS fnc wpDemine: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Waypoints(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
m (fixed link to waypoint types) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Scripted "CLEAR MINES" [[ | | 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). |Description= | The script needs a unit with the abiility to demine (engineer or explosive specialist [[getUnitTrait|trait]] '''and''' a toolkit). |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 15:43, 9 December 2020
Description
- Description:
- Scripted "CLEAR MINES" Advanced Waypoint. The script needs a unit with the abiility to demine (engineer or explosive specialist trait and a toolkit).
- Execution:
- call
- Groups:
- Waypoints
Syntax
- Syntax:
- [group, position, target, clearUnknownMines] call BIS_fnc_wpDemine
- 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:
- Nothing
Examples
- Example 1:
[group player, getMarkerPos "mineField", objNull, false] call BIS_fnc_wpDemine;
Additional Information
- See also:
- Waypoint typesWaypoints Command Group
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