try creating an invisible dummy entity, at the position of the player at start, then scan spider, turn player's face to it, and get close to spider. and make your attack, when it is over scan your dummy enitity, turn player's face to it and walk forward until player hits the dummy entity. then remove the dummy and end the battle mode.
and use vec_to_angle like vec_to_angle(my.pan,temp); so it does not change the tilt.
Last edited by Quadraxas; 03/27/08 18:51.