blckeagles-revisited-RC/@GMS/addons/custom_server/init/testCrateLoading.sqf
Chris Cardozo 747ed55d2e See below
Fixed some issues with waypoint monitoring.
Deleted unused code.
2018-11-18 14:29:07 -05:00

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];
};