View Single Post
Re: Let's kill the bots
Old
  (#21)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: Let's kill the bots - 06-08-2006

Ok if you are 100% sure that your pointer is correct try to kill the bot in BotThink() fucntion. Btw I don't understand why you have this line:
Code:
if(current->pEdict->v.deadflag != DEAD_NO){
botnumber++;
if(botnumber >= 7){
botnumber = 0;
}
First problem, remove that check for is the bot alive, thats wrong and second why you have max bots hardcoded to 7 ? And why you reset botnumber to zero if so ?
  
Reply With Quote