This code works great! smile
All I needed to do is lose for (works only in Lite-C)

I placed it in my sword function:
while (1)
{
vec_for_vertex(ringmvert_a, my, 6);
vec_for_vertex(ringmvert_b, my, 9);

vec_lerp (ringmost_a,ringmvert_a,ringmvert_b,random(1));
effect(mana_cspezial,max(1,mana_cAnzahlPartikel*time),ringmost_a,normal);
vec_lerp (ringmost_a,ringmvert_a,ringmvert_b,random(1));
effect(mana_cspezial,max(1,mana_cAnzahlPartikel*time),ringmost_a,normal);
vec_lerp (ringmost_a,ringmvert_a,ringmvert_b,random(1));
effect(mana_cspezial,max(1,mana_cAnzahlPartikel*time),ringmost_a,normal);
wait(1);
}

Btw- I forgotten the way on how to make random more randomized so I placed vec_lerp after each effect. Without it they all go in a same rhythm and in the same move-path(even in a same direction).

Thanx for code Widi.You really helped me out.


>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<