Home   Help Search Login Register  

Author Topic: Attacking from angle  (Read 476 times)

0 Members and 1 Guest are viewing this topic.

Offline Arctic

  • Members
  • *
  • In Utero
Attacking from angle
« on: 13 Apr 2003, 20:18:59 »
Ok... i'm trying to create an ambush script that will send an attacker at a random angle towards the player. I can difure out how to give the object the heading, but not how to tell the attacker to move a certain ways so that he can attack from an angle.

I'm sure I could use some of those trig functions... but I haven't gotten that far in math yet so it'd b a fools attempt for me to try and do it now.