BIS fnc taskAttack: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2 | |game1= arma2 | ||
|1.00 | |version1= 1.00 | ||
|game2= arma2oa | |game2= arma2oa | ||
Line 15: | Line 15: | ||
|gr1= Tasks | |gr1= Tasks | ||
| This function adds a [[Waypoints#Seek_.26_Destroy|Seek and Destroy]] waypoint on defined position to the group and set its [[behaviour]] to "AWARE". If the group has other waypoints, the waypoint will be added at the end of the list. | |descr= This function adds a [[Waypoints#Seek_.26_Destroy|Seek and Destroy]] waypoint on defined position to the group and set its [[behaviour]] to "AWARE". If the group has other waypoints, the waypoint will be added at the end of the list. | ||
| [group, position] call [[BIS_fnc_taskAttack]] | |s1= [group, position] call [[BIS_fnc_taskAttack]] | ||
|p1= group: [[Group]] | |p1= group: [[Group]] | ||
Line 23: | Line 23: | ||
|p2= position: [[Position]] | |p2= position: [[Position]] | ||
| [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>[opforGroup, getPosATL player] call BIS_fnc_taskAttack;</sqf> | ||
|seealso= [[addWaypoint]] | |seealso= [[addWaypoint]] [[Waypoints]] [[behaviour]] [[BIS_fnc_taskDefend]] [[BIS_fnc_taskPatrol]] | ||
}} | }} | ||
Latest revision as of 23:12, 12 July 2022
Description
- Description:
- This function adds a Seek and Destroy waypoint on defined position to the group and set its behaviour to "AWARE". If the group has other waypoints, the waypoint will be added at the end of the list.
- Execution:
- call
- Groups:
- Tasks
Syntax
- Syntax:
- [group, position] call BIS_fnc_taskAttack
- Parameters:
- group: Group
- position: Position
- Return Value:
- Boolean
Examples
- Example 1:
Additional Information
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