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.
Syntax
[group, position] call BIS_fnc_taskAttack
Parameters:
Returns: Boolean
Examples
Example 1
[opforGroup, getPosATL player] call BIS_fnc_taskAttack;
See also
addWaypoint · Waypoints · behaviour · BIS_fnc_taskDefend · BIS_fnc_taskPatrol