BIS_fnc_taskAttack

From Bohemia Interactive Community
Revision as of 23:12, 12 July 2022 by Lou Montana (talk | contribs) (Text replacement - " |s1=[" to " |s1= [")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

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

See also:
addWaypoint Waypoints behaviour BIS_fnc_taskDefend BIS_fnc_taskPatrol

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