Author Topic: Creating a bot /with bot hole ai/ at projectile collision point  (Read 539 times)

I would like to know how to do this but I have no prior experience with creating bots through scripts. I have tried searching but no results turned up. Please help!

no spoonfeeding please.

nobody has replied yet and i haven't played with torque in a while but i assume creating a new AIPlayer should work

i copied this from one of my gamemodes that i never seem to get to finish

   %corpse = new AIPlayer(botCorpse)
      {
         position = %client.player.getPosition();
         datablock = PlayerNoJet;
         originalClient = %client;
         name = %client.name;
         job = %client.Job;
         timeofdeath = getRealTime();
         %damage = %DamageType;
      };

Bot holes sadly require a spawn brick and tons of instance variables, which complicate things a lot.