Guest User

Untitled

a guest
Oct 20th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. _fuelDump1Hit = false;
  2. _fuelDump2Hit = false;
  3. _fuelDump3Hit = false;
  4. _fuelDump4Hit = false;
  5. _fuelDump5Hit = false;
  6. _fuelDump6Hit = false;
  7.  
  8. while {true} do {
  9.  
  10.  
  11.  
  12. if !(_fuelDump1Hit) then {
  13.  
  14. if (fuelDump1) then {
  15.  
  16. _fuelDump1Hit = true;
  17. []spawn {
  18. sleep 1;
  19.  
  20. [-1, {BIS_Effects_Burn = compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf"; smokeFX = [tower1, 2, time, false, false] spawn BIS_Effects_Burn;}] call CBA_fnc_globalExecute;
  21.  
  22. };
  23. };
  24.  
  25. };
  26.  
  27.  
  28. if !(_fuelDump2Hit) then {
  29.  
  30. if (fuelDump2) then {
  31.  
  32. _fuelDump2Hit = true;
  33. []spawn {
  34. sleep 1;
  35.  
  36. [-1, {BIS_Effects_Burn = compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf"; smokeFX = [tower2, 2, time, false, false] spawn BIS_Effects_Burn;}] call CBA_fnc_globalExecute;
  37.  
  38. };
  39. };
  40.  
  41. };
  42.  
  43. if !(_fuelDump3Hit) then {
  44.  
  45. if (fuelDump3) then {
  46.  
  47. _fuelDump3Hit = true;
  48. []spawn {
  49. sleep 1;
  50.  
  51. [-1, {BIS_Effects_Burn = compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf"; smokeFX = [tower3, 2, time, false, false] spawn BIS_Effects_Burn;}] call CBA_fnc_globalExecute;
  52.  
  53. };
  54. };
  55.  
  56. };
  57.  
  58.  
  59. if !(_fuelDump4Hit) then {
  60.  
  61. if (fuelDump4) then {
  62.  
  63. _fuelDump4Hit = true;
  64. []spawn {
  65. sleep 1;
  66.  
  67. [-1, {BIS_Effects_Burn = compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf"; smokeFX = [tower4, 2, time, false, false] spawn BIS_Effects_Burn;}] call CBA_fnc_globalExecute;
  68.  
  69. };
  70. };
  71.  
  72. };
  73.  
  74. if !(_fuelDump5Hit) then {
  75.  
  76. if (fuelDump5) then {
  77.  
  78. _fuelDump5Hit = true;
  79. []spawn {
  80. sleep 1;
  81.  
  82. [-1, {BIS_Effects_Burn = compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf"; smokeFX = [tower5, 2, time, false, false] spawn BIS_Effects_Burn;}] call CBA_fnc_globalExecute;
  83.  
  84. };
  85. };
  86.  
  87. };
  88.  
  89. if !(_fuelDump6Hit) then {
  90.  
  91. if (fuelDump6) then {
  92.  
  93. _fuelDump6Hit = true;
  94. []spawn {
  95. sleep 1;
  96.  
  97. [-1, {BIS_Effects_Burn = compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf"; smokeFX = [tower6, 2, time, false, false] spawn BIS_Effects_Burn;}] call CBA_fnc_globalExecute;
  98.  
  99. };
  100. };
  101.  
  102. };
  103.  
  104.  
  105.  
  106. sleep 3;
  107.  
  108. };
Add Comment
Please, Sign In to add comment