BIS fnc taskAttack: Difference between revisions
Jump to navigation
Jump to search
m (fixed link to waypoint types) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Tasks |GROUP1= | |gr1 = Tasks |GROUP1= | ||
| 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. |DESCRIPTION= | | 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. |DESCRIPTION= | ||
| [group, position] call [[BIS_fnc_taskAttack]] |SYNTAX= | | [group, position] call [[BIS_fnc_taskAttack]] |SYNTAX= | ||
Line 19: | Line 16: | ||
| [[Boolean]] |RETURNVALUE= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>[opforGroup, [[getPosATL]] [[player]]] [[call]] [[BIS_fnc_taskAttack]];</code> |EXAMPLE1= | |x1= <code>[opforGroup, [[getPosATL]] [[player]]] [[call]] [[BIS_fnc_taskAttack]];</code> |EXAMPLE1= | ||
| [[addWaypoint]], [[Waypoints]], [[behaviour]] [[BIS_fnc_taskDefend]] [[BIS_fnc_taskPatrol]] |SEEALSO= | | [[addWaypoint]], [[Waypoints]], [[behaviour]] [[BIS_fnc_taskDefend]] [[BIS_fnc_taskPatrol]] |SEEALSO= |
Revision as of 23:47, 16 January 2021
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:
[opforGroup, getPosATL player] call BIS_fnc_taskAttack;
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