Changes

Jump to navigation Jump to search
m
Line 79: Line 79:  
# object-oriented settimer() replacement
 
# object-oriented settimer() replacement
 
# see: http://wiki.flightgear.org/List_of_Nasal_extension_functions#maketimer.28.29_.282.11.2B.29  
 
# see: http://wiki.flightgear.org/List_of_Nasal_extension_functions#maketimer.28.29_.282.11.2B.29  
var timer = maketimer(0.8, func() {
+
var timer_hide = maketimer(1, func() {
 
   layers['EF2000-dirt.png'].hide();
 
   layers['EF2000-dirt.png'].hide();
 
}).start();
 
}).start();
   −
var timer2 = maketimer(1.6, func() {
+
var timer_show = maketimer(3.0, func() {
 
   layers['EF2000-dirt.png'].show();
 
   layers['EF2000-dirt.png'].show();
 
}).start();
 
}).start();

Navigation menu