Bot respawn delay problem -
11-05-2004
Hi all, my bot is base on HPB_Bot, when the first map start, everything have no problem, bot will wait for 60 seconds before first spawn and the rest will wait for 2 seconds between each spawn.
But after the map change, they won't wait for 60 seconds before the first spawn anymore and they also won't wait 2 seconds between each spawn but they will spawn immediately. I didn't done something wrong at the dll.cpp since even the HPB_Bot 4.03 have the same problem and almost all the other bots have the same problem, it seem only check the bot_check_time = gpGlobals->time + 60.0; which under BOOL ClientConnect one time but not check it again after map change, but I think this is not the only problem since bot_cfg_pause_time = gpGlobals->time + 2.0; which not under BOOL ClientConnect.
Could someone give me some suggestion please ? thank you very much.
|