Several bot/AI questions
Posted: Mon Jan 10, 2011 10:35 am
I used to fiddle with Source SDK in the past. And, there used to be a function callled NPCThink() that was responsible for AI operations in the entities (including bots).
1-I would like to find the main function responsible for the AI/bot in the Quake 3 Arena code.
Also, in Source SDK, there was a grand for loop that used to loop through the existing NPCs, and trigger their AI functions. That grand loop was called with every frame.
2- Is there a function responsible for looping (or going through) through the bots and calling on their AI functions?
1-I would like to find the main function responsible for the AI/bot in the Quake 3 Arena code.
Also, in Source SDK, there was a grand for loop that used to loop through the existing NPCs, and trigger their AI functions. That grand loop was called with every frame.
2- Is there a function responsible for looping (or going through) through the bots and calling on their AI functions?