;LAST UPDATE 2006/02/19 YAG
;Based script : GACHOPIN

_object = _this select 0;
_n = 0
?(daytime <=6 ||daytime >=16) : _n = 1
?(daytime <=4 ||daytime >=19) : _n = 2
goto "loop"

#start
?(_n == 2) : _object setobjecttexture[0, "\JASDF_F15\F15\F15_ab2.paa"];goto "AB"
?(_n == 1) : _object setobjecttexture[0, "\JASDF_F15\F15\F15_ab1.paa"];goto "AB"
_object setobjecttexture[0, "\JASDF_F15\F15\F15_ab0.paa"]

#AB
~0.05
?(_object animationphase "ea" <= 0.1):goto "End"
?(not Alive _object) : goto "TheEnd"
goto "AB"

#TheEnd
_object setobjecttexture[0, ""]
exit;

#End
_object setobjecttexture[0, ""]
#loop
~0.05
?(_object animationphase "Ea" > 0.1):goto "start"
?(not Alive _object) : goto "TheEnd"
goto "loop"
exit;