Arma 3 Scripting

BIS_fnc_taskAttack

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · Markdown · JSON · original wiki page

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