more DZE_MissionLootTable fixes #1028

This commit is contained in:
[VB]AWOL
2014-01-29 11:41:54 -06:00
parent 51b8fdff05
commit 4573e9b5c0
11 changed files with 63 additions and 10 deletions

View File

@@ -16,7 +16,12 @@ _agent = objNull;
if (!_isNoone) exitWith {};
if (count _unitTypes == 0) then {
_unitTypes = []+ getArray (configFile >> "CfgBuildingLoot" >> "Default" >> "zombieClass");
if (DZE_MissionLootTable) then {
_unitTypes = []+ getArray (missionConfigFile >> "CfgBuildingLoot" >> "Default" >> "zombieClass");
} else {
_unitTypes = []+ getArray (configFile >> "CfgBuildingLoot" >> "Default" >> "zombieClass");
};
};
_type = _unitTypes call BIS_fnc_selectRandom;