I am trying to get away from the templates (plus the movement code causes choppy movment when used) but I seam to be having issues getting free look on the mouse to work
I am using this code which doesn't work at the moment but I think I am close, can anyone help me with corrections?

action mouse_move
{
var mouse_sense = 1.5;
mouse_map = NULL;

mouse_pos.x = screen_size.x / 2;
mouse_pos.y = screen_size.y / 2;
mouse_mode = 1;
while(1)
{
while(mouse_right){mouse_mode = 0; wait(1);}
mouse_mode = 1;
mouse_pos.x = min(max(mouse_pos.x + 50 * mouse_sense * mouse_force.x * time,0),screen_size.x);
mouse_pos.y = min(max(mouse_pos.y - 50 * mouse_sense * mouse_force.y * time,0),screen_size.y);
wait(1);
}
}

thanks


GameStudio A7.07 Commercial