Hi!

You can put :
Code:
  
vec_set(temp, player.x);
vec_sub(temp, my.x);
vec_to_angle(my.pan, temp);



into your action!
but make sure your player is the player entity!

if the player isent the player put :
Code:
 
entity* player;

action ...
{
...
player = me;
...
}



into the player action!

ok... hope this helps!

-jack

Last edited by JackTheRipper; 01/05/07 17:52.

Cheers
Jack Out!


Bandiera rossa la trionferą
Evviva il socialismo e la libertą.