; some variables
_plane1 = _this select 0
_player = player


; auto detect engine off
#Repeat

~0.0001
	?!(isengineon _plane1):goto "EngineOff"
goto "Repeat"


#EngineOff
	_plane1 removeaction cancelAfteract;
	_plane1 removeaction Afteract;
	_plane1 setobjecttexture[0, ""]
	_plane1 animate ["Nozzle1", 0];
	_plane1 animate ["Nozzle2", 0];
	_plane1 animate ["Nozzle3", 0];
	_plane1 animate ["Nozzle4", 0];
	_plane1 animate ["Nozzle5", 0];
	_plane1 animate ["Nozzle6", 0];
	_plane1 animate ["Nozzle7", 0];
	_plane1 animate ["Nozzle8", 0];
	_plane1 animate ["Nozzle9", 0];
	_plane1 animate ["Nozzle10", 0];
	
;after=false;
goto "Repeat"