Add DZE_MissionLootTable

This commit is contained in:
ebaydayz
2016-03-13 15:57:31 -04:00
parent d9a0c3dd9b
commit 87052a9bf2
4 changed files with 2 additions and 181 deletions

View File

@@ -28,7 +28,7 @@ _vectorUp = vectorUp _this;
if (Vector_Angle(Vector_UP,_vectorUp) > 20) exitWith { 0 };
_type = typeOf _this;
_config = (configFile >> "CfgLoot" >> "Buildings" >> _type);
_config = if (DZE_MissionLootTable) then {missionConfigFile >> "CfgLoot" >> "Buildings" >> _type} else {configFile >> "CfgLoot" >> "Buildings" >> _type};
if (!isClass _config) exitWith {};