i think this is too much for you, but pls can you help me where to put that code? grin

im just new to this, so pls help me...
Code:
action blue_follow_path()
	{
		var dist = 0; // entity walk speed
		var LastPos[3];
		var Dir[3];
		var movement_speed;
		//my.shadow = on;
		path_set(my, "bluepath"); // Change way1 to the name of your path set in WED
		
		while(1)
		{

			path_spline(me,my.x,dist); // spline curve for smooth walking
			dist += 12*time_step; // change this to change the walk speed
			c_move(me,vector(1*time_step,0,0),nullvector,IGNORE_YOU); // this is for collision but you don“t need
			vec_diff(Dir,my.x,LastPos);
			vec_to_angle(my.pan,Dir);
			vec_set(LastPos,my.x);
			ent_animate(my, "run", movement_speed, ANM_CYCLE);
			movement_speed += 10 * time_step;
			//camera_on_me();
			wait(1);
		}	
	}



i just got that code from the workshop & edited some so that it will run for my work. i'm trying my best to work on that, but i still need some help.

thanks!