BIS fnc wpDemine: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) 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(...) |
Lou Montana (talk | contribs) 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(...) |
||
Line 5: | Line 5: | ||
_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]]|x1= <code><nowiki>[</nowiki>[[group]] [[player]], [[getMarkerPos]] "mineField", [[objNull]], [[false]]] [[call]] [[BIS_fnc_wpDemine]];</code>| [[Waypoints]], [[:Category:Command_Group:_Waypoints|Waypoints Command Group]] | |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]]|x1= <code><nowiki>[</nowiki>[[group]] [[player]], [[getMarkerPos]] "mineField", [[objNull]], [[false]]] [[call]] [[BIS_fnc_wpDemine]];</code>| [[Waypoints]], [[:Category:Command_Group:_Waypoints|Waypoints Command Group]] | ||
}} | }} | ||
Revision as of 10:11, 18 January 2021
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:
- Nothing
- 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:
- Waypoints, Waypoints Command Group
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