From e670b4ed55c459a21090bd0178ceaaaf12d87989 Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:58:31 +0300 Subject: init --- Server/AI/AI_Resistance.sqf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Server/AI/AI_Resistance.sqf (limited to 'Server/AI/AI_Resistance.sqf') diff --git a/Server/AI/AI_Resistance.sqf b/Server/AI/AI_Resistance.sqf new file mode 100644 index 0000000..2fe1ce2 --- /dev/null +++ b/Server/AI/AI_Resistance.sqf @@ -0,0 +1,17 @@ +Private ["_action","_position","_range","_team"]; +_team = _this select 0; +_position = _this select 1; +_range = _this select 2; +_action = _this select 3; + +switch (_action) do { + case "Patrol": {[_team,_position,_range] Call BIS_fnc_taskPatrol}; + case "Defend": { + _team setFormation "STAG COLUMN"; + _team setBehaviour "AWARE"; + _team setSpeedMode "NORMAL"; + + [_team, true, [[_position, 'SAD', 40, 30, "", []]]] Call AIWPAdd; + }; + case "CPatrol": {[_team,_position,_range] Spawn AIPatrol}; +}; \ No newline at end of file -- cgit v1.3.1