I need to put the smoke in this code on a 5 minute timer so that after after the smoke burns out it loops and happens again. Any help with this?
//Create Visible Marker with SMOKE
_dayTime = dayTime;
if (_dayTime > 6 && _dayTime < 18.5) then {
_smokeMarker = "SmokeShellRed" createVehicle getPosATL _loot_box;
_smokeMarker setPosATL (getPosATL _loot_box);
_smokeMarker attachTo [_loot_box,[0,0,0]];
};
if (_dayTime > 18.5 && _dayTime < 6) then {
_smokeMarker = "ARTY_Flare_Medium" createVehicle getPosATL _loot_box;
_smokeMarker setPosATL (getPosATL _loot_box);
_smokeMarker attachTo [_loot_box, [0,0,0]];
};

