BIS fnc taskAttack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 35: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Spawning|{{uc:taskAttack}}]]
 
[[Category:Functions|{{uc:taskAttack}}]]
[[Category:Functions|{{uc:taskAttack}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:taskAttack}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:taskAttack}}]]

Revision as of 09:40, 12 October 2020

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:
addWaypointWaypointsbehaviour 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

Notes

Bottom Section