mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Merge pull request #1600 from BangL/master
custom CfgVehicles? i dont think so
This commit is contained in:
@@ -50,11 +50,8 @@ _agent setVariable ["newDest",_newDest];
|
|||||||
//Add some loot
|
//Add some loot
|
||||||
_rnd = random 1;
|
_rnd = random 1;
|
||||||
if (_rnd > 0.3) then {
|
if (_rnd > 0.3) then {
|
||||||
if (DZE_MissionLootTable) then {
|
|
||||||
_lootType = getText (missionConfigFile >> "CfgVehicles" >> _type >> "zombieLoot");
|
_lootType = getText (configFile >> "CfgVehicles" >> _type >> "zombieLoot");
|
||||||
} else {
|
|
||||||
_lootType = getText (configFile >> "CfgVehicles" >> _type >> "zombieLoot");
|
|
||||||
};
|
|
||||||
|
|
||||||
if (DZE_MissionLootTable) then {
|
if (DZE_MissionLootTable) then {
|
||||||
_lootTypeCfg = getArray (missionConfigFile >> "CfgLoot" >> _lootType);
|
_lootTypeCfg = getArray (missionConfigFile >> "CfgLoot" >> _lootType);
|
||||||
|
|||||||
Reference in New Issue
Block a user