Code:
var loading;

...

loading = 1;
while(loading == 1)
{
     draw_quad(NULL, vector(0,0,0), NULL, vector(screen_size.x,screen_size.y,0), NULL, vector(0,0,0),100, 0);
     wait(1);
}



and then call this in the loading function (the one placing the trees) when done loading:
loading = 0;
you may have to exchange the vector(screen_size.x,screen_size.y,0) and the NULL parameter after it, if it doesn't work. I don't remember if it was the scale or the size that needs to be set.
check out the draw_quad function in the manual.


Last edited by Germanunkol; 04/02/09 19:39.

~"I never let school interfere with my education"~
-Mark Twain