Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _fuelDump1Hit = false;
- _fuelDump2Hit = false;
- _fuelDump3Hit = false;
- _fuelDump4Hit = false;
- _fuelDump5Hit = false;
- _fuelDump6Hit = false;
- while {true} do {
- if !(_fuelDump1Hit) then {
- if (fuelDump1) then {
- _fuelDump1Hit = true;
- []spawn {
- sleep 1;
- [-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;
- };
- };
- };
- if !(_fuelDump2Hit) then {
- if (fuelDump2) then {
- _fuelDump2Hit = true;
- []spawn {
- sleep 1;
- [-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;
- };
- };
- };
- if !(_fuelDump3Hit) then {
- if (fuelDump3) then {
- _fuelDump3Hit = true;
- []spawn {
- sleep 1;
- [-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;
- };
- };
- };
- if !(_fuelDump4Hit) then {
- if (fuelDump4) then {
- _fuelDump4Hit = true;
- []spawn {
- sleep 1;
- [-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;
- };
- };
- };
- if !(_fuelDump5Hit) then {
- if (fuelDump5) then {
- _fuelDump5Hit = true;
- []spawn {
- sleep 1;
- [-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;
- };
- };
- };
- if !(_fuelDump6Hit) then {
- if (fuelDump6) then {
- _fuelDump6Hit = true;
- []spawn {
- sleep 1;
- [-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;
- };
- };
- };
- sleep 3;
- };
Add Comment
Please, Sign In to add comment