arma3_missions/helotraining.Altis/spawnSmoke.sqf
2016-07-24 10:57:58 +03:00

24 lines
402 B
Plaintext

_smokeLoc = _this select 0;
while {!landingComplete} do
{
_hour = daytime;
if (_hour > 5 && _hour < 19) then
{
_smoke= "SmokeShellGreen" createVehicle _smokeLoc;
sleep 40;
deleteVehicle _smoke;
}
else
{
_chemlight= "Chemlight_green" createVehicle _smokeLoc;
_smoke= "SmokeShellGreen" createVehicle _smokeLoc;
sleep 40;
deleteVehicle _chemlight;
deleteVehicle _smoke;
};
}