_plane = _this select 0
#MainLoop
?(!alive _plane) : exit
?(damage _plane > .4) : goto "FireOne"
~.5
goto "MainLoop"
#FireOne
?(!alive _plane) : exit
?(damage _plane < .2) : goto "MainLoop"
?(damage _plane > .60) : goto "FireBoth"
drop ["cl_fire","","Billboard", 1,0.2+ random 0.3,[0, -5, -0.5], [5-random 10,5-random 10,5-random 10], 1, 1,1.275, 0, [(random 3),0],[[.8,.7,.1,.3],[.8,.7,.1,.01]],[1,1,1,1],0.01,0.02,"","",_plane]
drop ["cl_basic","","Billboard",1,0.5+ random 0.5,[0, -5, -0.5], [5-random 10,5-random 10,5-random 10], 0, 1, 0.85, 0.1, [(random 2),(random 10)],[[0,0,0,.2],[0,0,0,0]],[1,1,1,1],0.01,0.07,"","",_plane]
~.002
goto "FireOne"
#FireBoth
?(!alive _plane) : exit
?(damage _plane < .2) : goto "MainLoop"
drop ["cl_fire","","Billboard", 1,0.2+ random 0.3,[0, -5, -0.5], [5-random 10,5-random 10,5-random 10], 1, 1,1.275, 0, [(random 3),0],[[.8,.7,.1,.3],[.8,.7,.1,.01]],[1,1,1,1],0.01,0.02,"","",_plane]
drop ["cl_basic","","Billboard",1,0.5+ random 0.5,[0, -5, -0.5], [5-random 10,5-random 10,5-random 10], 0, 1, 0.85, 0.1, [(random 2),(random 10)],[[0,0,0,.2],[0,0,0,0]],[1,1,1,1],0.01,0.07,"","",_plane]
drop ["cl_fire","","Billboard", 1,0.2+ random 0.3,[1, -2, 0], [5-random 10,5-random 10,5-random 10], 1, 1,1.275, 0, [(random 3),0],[[.8,.7,.1,.3],[.8,.7,.1,.01]],[1,1,1,1],0.01,0.02,"","",_plane]
drop ["cl_basic","","Billboard",1,0.5+ random 0.5,[1, -2, 0], [5-random 10,5-random 10,5-random 10], 0, 1, 0.85, 0.1, [(random 2),(random 10)],[[0,0,0,.2],[0,0,0,0]],[1,1,1,1],0.01,0.07,"","",_plane]
_plane setFuel (fuel _plane) - 0.00002
~.002
goto "FireBoth"
这个是发动机燃烧着火的效果