2016-07-24 07:57:58 +00:00
|
|
|
|
|
|
|
_spawnPos = _this select 0;
|
|
|
|
_target = _this select 1;
|
2016-07-24 08:09:11 +00:00
|
|
|
_playerno = _this select 2;
|
2016-07-24 08:35:03 +00:00
|
|
|
diag_log format["createSquad called, _this: %1", _this];
|
2016-07-24 08:09:11 +00:00
|
|
|
|
|
|
|
if (ferryingArray select _playerno) exitWith {};
|
|
|
|
|
2016-07-24 07:57:58 +00:00
|
|
|
|
|
|
|
_groupTaxi = createGroup west;
|
|
|
|
"B_Soldier_F" createUnit [_spawnPos, _groupTaxi,"",0.5, "CORPORAL"];
|
|
|
|
"B_Soldier_F" createUnit [_spawnPos, _groupTaxi,"",0.5, "PRIVATE"];
|
|
|
|
"B_Soldier_F" createUnit [_spawnPos, _groupTaxi,"",0.5, "PRIVATE"];
|
|
|
|
"B_Soldier_F" createUnit [_spawnPos, _groupTaxi,"",0.5, "PRIVATE"];
|
|
|
|
|
2016-07-24 08:09:11 +00:00
|
|
|
squadMDArray set [_playerno, (squadMDArray select _playerno) + [_groupTaxi]];
|
|
|
|
publicVariable "squadMDArray";
|