{"name":"BIS_fnc_taskAttack","operator":null,"title":"BIS fnc taskAttack","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_taskAttack","revid":327472,"updated":"2022-07-12T22:12:11Z","groups":["Tasks"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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.","syntaxes":[{"syntax":"[group, position] call BIS_fnc_taskAttack","since":null,"effect":null,"exec":null,"params":[{"name":"group","type":"Group","optional":false,"default":null,"description":null,"types":["Group"],"since":null,"text":"group: Group"},{"name":"position","type":"Position","optional":false,"default":null,"description":null,"types":["Position"],"since":null,"text":"position: Position"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"}}],"examples":[{"text":"```sqf\n[opforGroup, getPosATL player] call BIS_fnc_taskAttack;\n```","code":["[opforGroup, getPosATL player] call BIS_fnc_taskAttack;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["addWaypoint","Waypoints","behaviour","BIS_fnc_taskDefend","BIS_fnc_taskPatrol"],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Tasks","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}