the problem is, that i can´t do this:

Code:
function object_fow()
{
	// Aktionen für den Kriegsnebel
	my.tilt = 90;
	my.alpha = 100;
	set(my,TRANSLUCENT);
	set(my,PASSABLE);
	while (1)
	{
		i=0;
		if(i < 4000){i += 1;}else if(i == 4000 || i > 4000){i = 0;}
		if(vec_dist(bodentiles[i].x, my.x) <= 350)
		{
			while(my.alpha >= 5)
			{my.alpha -= 3;wait(1);}
			ptr_remove(my);
		}
		wait(5);
	}
}



Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<