A strategy game where you move more than one unit at a time is not easy and I suggest you try something else instead. If you only have one entity/ player and move him to the mouse click position then check the example in the manual for mouse_pos3d. If trace_hit, use vec_diff to calculate the direction vector from player to target, vec_to_angle to get the appropriate angle and set player.pan to the resulting pan value.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends