Code:

function slim_saber_func()
{
proc_late();
my.scale_x = 0.5;
my.scale_y = 0.5;
my.scale_x = 0.5;
my.flare = off;
my.transparent = on;
my.bright = on;
my.passable = on;
my.alpha = 100;
vec_for_vertex (pos01 ,slim_core_ent, saber_vec01);
vec_for_vertex (pos02 ,slim_core_ent, saber_vec02);
vec_to_angle (my.pan, pos02);
my.x = (pos01.x+pos02.x)/2;
my.y = (pos01.y+pos02.y)/2;
my.z = (pos01.z+pos02.z)/2;
while(my.alpha > 0)
{
my.alpha -= 80 *time;
wait(1);
}
ent_remove(me);
}


how would i fix this to pan toward the second vector?
also how could i do collision?

Last edited by Manslayer101; 08/01/06 19:51.

- aka Manslayer101