Ok thnx smile

I tryed to play a bit with the code
But it became some real mess >.<
it goes around the player start pos now. but doesn't walk with the char.
It goes one side very quick.
It doesnt work as it should be.
Maybe because i just use camera. and not an entity.

Tries diffrent things but all just sucked.
Even de start pos. got screwed a bit.

Code:
function Camera_Action()
{
	var mouseR_onhold = 0;
	var centerx = 0; // centre of circle (x)
	var centery = 0;  // centre of circle (y)
	var radius = 400; // radius of circle
	var theta = 0; // degrees done around the circle
	var temp;

	camera.tilt = -15;
	while(1)
	{
		//vec_set(camera.x,vector(-180,0,50));
		vec_rotate(camera.x,my.pan);
		//vec_add(camera.x,my.x);
		camera.pan = my.pan;
		if(mouse_right) // right Mousebutton pressed?
		{
			mouseR_onhold = 1;
			mouse_map = NULL;
			camera.pan -= mouse_force.x +(radius * sin(theta));
			my.pan -= mouse_force.x;
			camera.tilt += mouse_force.y;
			
			
			theta+=1*time_step;
			//camera.x = centerx +(radius * sin(theta));
			//camera.y = centery + (radius * cos(theta));
//			vec_set(temp,my.x); 
//			vec_sub(temp,my.x);
//			vec_to_angle(my.pan,temp); // now MY looks at YOU
//			vec_set(camera.x,my.x - 15);
		}
		
		if(!mouse_right && mouseR_onhold == 1)
		{
			mouse_map = arrow;
		}

		wait(1);
	}
	
}


plz can u help me fix it smile

Thnx allready,


-The Dragon's Eye is alway's watching you!-