19 lines
667 B
Plaintext
19 lines
667 B
Plaintext
|
|
||
|
uiSleep 5;
|
||
|
diag_log format["<< ---- START TEST Crate Loading ---- >>"];
|
||
|
_coords = [12000,12000,0];
|
||
|
//_loot = blck_supportLoot; //[causes problems] blck_highPoweredLoot; // [causes problems] blck_contructionLoot ; //blck_BoxLoot_Orange;
|
||
|
_loot = blck_supportLoot;
|
||
|
_lootCounts = [100,100,100,100,100,100];
|
||
|
_aiDifficultyLevel = "Orange";
|
||
|
for "_i" from 1 to 100 do
|
||
|
{
|
||
|
diag_log format["testCrateLoading: pass %1",_i];
|
||
|
_crateType = selectRandom blck_crateTypes;
|
||
|
_crate = [_coords,_crateType] call blck_fnc_spawnCrate;
|
||
|
[_crate,_loot,_lootCounts] call blck_fnc_fillBoxes;
|
||
|
uiSleep 5;
|
||
|
diag_log format["testCrateLoading: crate inventory = %1",getItemCargo _crate];
|
||
|
};
|
||
|
|