Hi,
I've made a fade-in script, but after the fade-in, it won't fade-out.
Script:
PANEL* splash =
{
pos_x = 230;
pos_y = 10;
bmap = "start1.bmp";
}
set(splash, SHOW);
wait(1);
set(splash,TRANSLUCENT);
for (splash.alpha=0; splash.alpha+=5*time_step; splash.alpha<100) wait(5);
if(splash.alpha=100) {
for (splash.alpha=100; splash.alpha-=5*time_step; splash.alpha>0) wait(5);
}
So anyone?