AiPlayer and state
by Ryan Ackley · in Torque Game Engine · 02/19/2002 (3:46 pm) · 3 replies
Anyone know if the aiplayer class has a isAlive() member function or something to that extent? Im working on some basic Ai routines, but the code breaks if i kill one of my bots. Kind of silly, not being able to kill them :)
ryan
ryan
About the author
Associate Stefan Beffy Moises
if(isObject($myBot)){
...
}
// else he's dead