BIS fnc wpDemine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "]]|x1" to "]] |x1")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 6: Line 6:
_clearUnknown = _this param [3,true,[true]];
_clearUnknown = _this param [3,true,[true]];


|p1= group: [[Group]] - a group with a mine expert|p2= position: [[Position]] - the demining centre. Demining radius is defined by [[waypointCompletionRadius]], and defaults to 50 if set to 0|p3= target: [[Anything]] - (Optional, default [[objNull]]) unused parameter|p4= clearUnknownMines: [[Boolean]] - (Optional, default [[true]]) should the group demine all mines or only the one [[detectedMines|its side knows about]]| [[Nothing]]
|p1= group: [[Group]] - a group with a mine expert|p2= position: [[Position]] - the demining centre. Demining radius is defined by [[waypointCompletionRadius]], and defaults to 50 if set to 0|p3= target: [[Anything]] - (Optional, default [[objNull]]) unused parameter|p4= clearUnknownMines: [[Boolean]] - (Optional, default [[true]]) should the group demine all mines or only the one [[detectedMines|its side knows about]]|r1= [[Nothing]]


|x1= <code><nowiki>[</nowiki>[[group]] [[player]], [[getMarkerPos]] "mineField", [[objNull]], [[false]]] [[call]] [[BIS_fnc_wpDemine]];</code>|seealso= [[Waypoints]], [[:Category:Command_Group:_Waypoints|Waypoints Command Group]]
|x1= <code><nowiki>[</nowiki>[[group]] [[player]], [[getMarkerPos]] "mineField", [[objNull]], [[false]]] [[call]] [[BIS_fnc_wpDemine]];</code>|seealso= [[Waypoints]], [[:Category:Command_Group:_Waypoints|Waypoints Command Group]]

Revision as of 09:57, 10 June 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:
Nothing

Examples

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

Additional Information

See also:
WaypointsWaypoints 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