Hi Hawthourne,

to add to what 3run said, you might want to check this thread too http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=445062&page=1, and for example take txesmi's solution.

Basically the main function you are looking for is vec_to_angle . So lets say you have your vector point you want your object to you look at (e.g. at the Player), the function looks something like this:

Code:
vec_to_angle(object.pan, player.x); //this lets object look at player


Last edited by Reconnoiter; 11/11/14 13:09.