untested but you should be able to see what Im TRYING to achieve.
Code:
action player_action()
{
	player = my;
	vec_set(my.scale_x,vector(0.5,0.5,0.5));
	wait(1);
	c_setminmax(my);
	VECTOR tmpV;
	while(1)
	{
		vec_set(tmpV, vector(my.x,my.y,my.z-9999));
		vec_rotateaxis(tmpV, my.x, my.pan);
		c_trace(my.x, tmpV, IGNORE_ME | USE_BOX);
		if(you != NULL)
		{
			my.tilt   = you.roll;
			my.skill1 = vec_dist(my.x, you.x);
			if(my.skill1 < 20)
			{
				c_move(my,vector(0,0,20-my.skill1),nullvector,GLIDE);
			}
		}
		
		if(key_a == 1){c_move(my,vector(30*time_step,0,0),nullvector,GLIDE);}
		
		vec_set(camera.x, vector(my.x,my.y-400,my.z));
		wait(1);
	}
}



"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial