Advertisement
Guest User

Untitled

a guest
Jul 9th, 2014
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. // Very taxing !!! but only on first startup
  2. BuildingList = [];
  3. {
  4. if (DZE_MissionLootTable) then {
  5. if (isClass (missionConfigFile >> "CfgBuildingLoot" >> (typeOf _x))) then
  6. {
  7. BuildingList set [count BuildingList,_x];
  8. };
  9. } else {
  10. if (isClass (configFile >> "CfgBuildingLoot" >> (typeOf _x))) then
  11. {
  12. BuildingList set [count BuildingList,_x];
  13. };
  14. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement