blob: 2fe1ce216283f1e7f02f2399d7dc72bc7295ae69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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};
};
|