Posted: 2nd Jan 2003 11:35
Hi again, I'm having a little trouble with having the bad guy ships following the player..

I seen a few example codes for monsers following the players but thats not what I'm looking for.

So..... I'm trying to make it where the enemy ship has to steer 3 pitch angles and 2 yaw angles to get to actually point to a player so it can follow the player. Rolling is not needed. Just pitch and yaw.

my methods for trying to make the enemy to follow the player didn't work. the point object and move command combined together screwed things up.

heres what I actually tried:

IF TargetX#(TEK)> object position x(1) Then TargetX#(Tek)=TargetX#(Tek)-10
IF TargetX#(TEK) object position y(1) Then TargetY#(Tek)=TargetY#(Tek)-10
IF TargetY#(TEK) object position z(1) Then TargetZ#(Tek)=TargetZ#(Tek)-10
IF TargetZ#(TEK)
Posted: 2nd Jan 2003 11:39
oops I postesd this in the wrong section.. I wasn't paying attention though.. it sucks that you can't really edit posts..