Game Development Community

aiPlayer.cs

by Grant McNeil · in Torque Game Engine · 06/15/2002 (9:31 am) · 1 replies

Okay, can someone show me their aiPlayer.cs? I have been trying to make a bot the follows me where ever the player goes. I tried to do this by using the 'OnReachDestination' function find my new position and go there. The problem is The Bot will get to my position, then stop moving. in the console just constantly says:

OnMove
OnReachDestinaion

I guess this is because its finding the clients position only once, then trying to move to that position. Can someone please show me their aiPlayer.cs and/or shead some light on this situation for me?

#1
06/15/2002 (11:32 am)
Don't post the same thing in different forums, everyone will see your post in the Mods forum
Delete this one