ok..ich hab das problem..tut mir furchtbar leid ^^°
jezt solle mich unbändiger zorn von dir wegen meiner dummheit treffen...

Code:
function fade_in(fade_speed)
{
my.transparent = on;
my.alpha = 0;
while(my.alpha<100)
{
my.alpha += fade_speed*time_step;
wait(1);
}
}

function rotate_around
{
var versatz;
var dist = 20;
versatz = my.x;//here you abuse it ;)
my.passable = on;
my.scale_x = 0.25;
my.scale_y = 0.25;
my.scale_z = 0.25;
fade_in(5);
while(1)
{
my.x = model_ent.x - dist*cos(total_ticks*0.5+versatz);
my.y = model_ent.y - dist*sin(total_ticks*0.5+versatz);
my.z = model_ent.z;
wait(1);
}
}

function create_it
{
var i;
while(i<10)
{
you = ent_create("sprite.tga",vector(i*36,0,0),rotate_around);
i+=1;
}
}



Last edited by Scorpion; 08/15/07 18:35.