so like this?
Code:
action car()
{
	car1 = me;
	while (1)
	{
		if (key_a)
			my.pan -= 3 * time_step;
		if (key_d)
			my.pan += 3 * time_step;
		if (key_w)
			c_move(car1,vector(5 * time_step,0,0),nullvector,GLIDE);
		if (key_s)
			c_move(car1,vector(5 * time_step,0,0),nullvector,GLIDE);
	}
	wait (1);
}


It still doesn't move the car. Or do I do the wait (1) inside the parenthesis for the while? I tried both and it doesn't move the car. confused

Last edited by Panda_Dude; 03/27/11 20:37.