asd
This commit is contained in:
Defent 2015-08-26 21:55:41 +02:00
parent a76124216f
commit dd81912721
12 changed files with 30 additions and 30 deletions

View File

@ -1,5 +1,5 @@
// The content of the boxes.
private ["_type","_crate",];
private ["_type","_crate"];
_type = _this select 0;
_crate = _this select 1;

View File

@ -20,11 +20,11 @@ diag_log format ["DMS :: Main Mission 1 started at (%1)",_pos];
// Spawn Box
_crate = createVehicle ["Box_NATO_AmmoOrd_F",[(_pos select 0) - 10, _pos select 1,0],[], 0, "CAN_COLLIDE"];
[1,_crate] call DMS_createBox;
sleep 2;
uiSleep 2;
//_crate = [_pos,40,4,2,2] execVM "mission\crates\MM_Box1.sqf";
// spawn AI
//[(_pos),(5),(4)] call DMS_SpawnAI;
//[_pos,5,4] call DMS_SpawnAI;
[(_pos),(5),(4)] call DMS_DMS_SpawnAI;
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};

View File

@ -25,12 +25,12 @@ diag_log format ["DMS :: Main Mission 10 started at (%1)",_pos];
_crate = createVehicle ["Box_NATO_AmmoOrd_F",[(_pos select 0) - 10, _pos select 1,0],[], 0, "CAN_COLLIDE"];
[1,_crate] call DMS_createBox;
sleep 2;
uiSleep 2;
//_crate = [_pos,40,4,2,2] execVM "mission\crates\MM_Box1.sqf";
// spawn AI
//[(_pos),(5),(4)] call DMS_SpawnAI;
[(_pos),(5),(4)] call DMS_SpawnAI;
//[_pos,5,4] call DMS_SpawnAI;
[_pos,5,4] call DMS_SpawnAI;

View File

@ -24,12 +24,12 @@ diag_log format ["DMS :: Main Mission 2 started at (%1)",_pos];
_crate = createVehicle ["Box_NATO_AmmoOrd_F",[(_pos select 0) - 10, _pos select 1,0],[], 0, "CAN_COLLIDE"];
[1,_crate] call DMS_createBox;
sleep 2;
uiSleep 2;
//_crate = [_pos,40,4,2,2] execVM "mission\crates\MM_Box1.sqf";
// spawn AI
//[(_pos),(5),(4)] call DMS_SpawnAI;
[(_pos),(5),(4)] call DMS_DMS_SpawnAI;
//[_pos,5,4] call DMS_SpawnAI;
[_pos,5,4] call DMS_SpawnAI;

View File

@ -22,12 +22,12 @@ diag_log format ["DMS :: Main Mission 3 started at (%1)",_pos];
// Spawn Box
_crate = createVehicle ["Box_NATO_AmmoOrd_F",[(_pos select 0) - 10, _pos select 1,0],[], 0, "CAN_COLLIDE"];
[1,_crate] call DMS_createBox;
sleep 2;
uiSleep 2;
//_crate = [_pos,40,4,2,2] execVM "mission\crates\MM_Box1.sqf";
// spawn AI
//[(_pos),(5),(4)] call DMS_SpawnAI;
[(_pos),(5),(4)] call DMS_SpawnAI;
//[_pos,5,4] call DMS_SpawnAI;
[_pos,5,4] call DMS_SpawnAI;

View File

@ -24,12 +24,13 @@ diag_log format ["DMS :: Main Mission 4 started at (%1)",_pos];
// Spawn Box
_crate = createVehicle ["Box_NATO_AmmoOrd_F",[(_pos select 0) - 10, _pos select 1,0],[], 0, "CAN_COLLIDE"];
[1,_crate] call DMS_createBox;
sleep 2;
uiuiSleep 2;
//_crate = [_pos,40,4,2,2] execVM "mission\crates\MM_Box1.sqf";
// spawn AI
//[(_pos),(5),(4)] call DMS_SpawnAI;
[(_pos),(5),(4)] call DMS_SpawnAI;
//[_pos,5,4] call DMS_SpawnAI;
[_pos,5,4] call DMS_SpawnAI;

View File

@ -27,7 +27,7 @@ _crate = createVehicle ["Box_NATO_AmmoOrd_F",[(_pos select 0) - 10, _pos select
// [_crate, amount of weapons, amount of ammo] call createBox;
[1,_crate] call DMS_createBox;
sleep 2;
uiSleep 2;
//[_pos, amount of ai ] call DMS_SpawnAI;

View File

@ -24,12 +24,12 @@ diag_log format ["DMS :: Main Mission 6 started at (%1)",_pos];
_crate = createVehicle ["Box_NATO_AmmoOrd_F",[(_pos select 0) - 10, _pos select 1,0],[], 0, "CAN_COLLIDE"];
[1,_crate] call DMS_createBox;
sleep 2;
uiSleep 2;
//_crate = [_pos,40,4,2,2] execVM "mission\crates\MM_Box1.sqf";
// spawn AI
//[(_pos),(5),(4)] call DMS_SpawnAI;
[(_pos),(5),(4)] call DMS_SpawnAI;
//[_pos,5,4] call DMS_SpawnAI;
[_pos,5,4] call DMS_SpawnAI;

View File

@ -25,12 +25,12 @@ diag_log format ["DMS :: Main Mission 7 started at (%1)",_pos];
_crate = createVehicle ["Box_NATO_AmmoOrd_F",[(_pos select 0) - 10, _pos select 1,0],[], 0, "CAN_COLLIDE"];
[1,_crate] call DMS_createBox;
sleep 2;
uiSleep 2;
//_crate = [_pos,40,4,2,2] execVM "mission\crates\MM_Box1.sqf";
// spawn AI
//[(_pos),(5),(4)] call DMS_SpawnAI;
[(_pos),(5),(4)] call DMS_SpawnAI;
//[_pos,5,4] call DMS_SpawnAI;
[_pos,5,4] call DMS_SpawnAI;

View File

@ -25,12 +25,12 @@ diag_log format ["DMS :: Main Mission 8 started at (%1)",_pos];
_crate = createVehicle ["Box_NATO_AmmoOrd_F",[(_pos select 0) - 10, _pos select 1,0],[], 0, "CAN_COLLIDE"];
[1,_crate] call DMS_createBox;
sleep 2;
uiSleep 2;
//_crate = [_pos,40,4,2,2] execVM "mission\crates\MM_Box1.sqf";
// spawn AI
//[(_pos),(5),(4)] call DMS_SpawnAI;
[(_pos),(5),(4)] call DMS_SpawnAI;
//[_pos,5,4] call DMS_SpawnAI;
[_pos,5,4] call DMS_SpawnAI;

View File

@ -24,12 +24,12 @@ diag_log format ["DMS :: Main Mission 9 started at (%1)",_pos];
_crate = createVehicle ["Box_NATO_AmmoOrd_F",[(_pos select 0) - 10, _pos select 1,0],[], 0, "CAN_COLLIDE"];
[1,_crate] call DMS_createBox;
sleep 2;
uiSleep 2;
//_crate = [_pos,40,4,2,2] execVM "mission\crates\MM_Box1.sqf";
// spawn AI
//[(_pos),(5),(4)] call DMS_SpawnAI;
[(_pos),(5),(4)] call DMS_SpawnAI;
//[_pos,5,4] call DMS_SpawnAI;
[_pos,5,4] call DMS_SpawnAI;

View File

@ -1,4 +1,3 @@
DMS_spawnAI = {
private ["_group", "_pos","_soldier","_skill","_units","_playerObject"];
_pos = _this select 0;
_units = _this select 1;
@ -104,4 +103,4 @@ DMS_spawnAI = {
};
};
};
};