Code:
function fadein()
{
	set(my,TRANSLUCENT);
	while(1)
	{
		my.alpha += 5*time_step
		if(my.alpha == 100){break; reset(my,TRANSLUCENT);}
		wait(1);
	}
}


Just an idea. wink

EDIT: Or use the fade in example in the manual:
Code:
set(my,TRANSLUCENT);
for (my.alpha=0; my.alpha+=5*time_step; my.alpha<100) wait(1);
reset(my,TRANSLUCENT);


Last edited by Cowabanga; 03/05/09 08:50.