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

@@ -10,7 +10,7 @@ if (count _this > 1) then {
};
_type = typeOf _obj;
_config = configFile >> "CfgLoot" >> "Buildings" >> _type;
_config = if (DZE_MissionLootTable) then {missionConfigFile >> "CfgLoot" >> "Buildings" >> _type} else {configFile >> "CfgLoot" >> "Buildings" >> _type};
_canLoot = isClass (_config);
_originalPos = getPosATL _obj;