Bots
by Joe Melton · in Torque Game Engine · 10/05/2003 (10:11 pm) · 3 replies
I am trying to add bots from the console. I followed Beffy's tutorial, using the latest HEAD.
I added the aiPlayer.cc and aiPlayer.h files to the project and recompiled. When I attempt to add a bot from the console, by entering $myBot01 = aiAddPlayer("Test");
I get an error "Unable to find function aiAddPlayer." I have recompiled two or three times, each time making sure those files have been added to the project.
I searched both of those files for "aiAddPlayer," and the search returned nothing.
What am I doing wrong? Does this still work?
I added the aiPlayer.cc and aiPlayer.h files to the project and recompiled. When I attempt to add a bot from the console, by entering $myBot01 = aiAddPlayer("Test");
I get an error "Unable to find function aiAddPlayer." I have recompiled two or three times, each time making sure those files have been added to the project.
I searched both of those files for "aiAddPlayer," and the search returned nothing.
What am I doing wrong? Does this still work?
#3
Thanks for pointing that out, though.
10/08/2003 (6:55 pm)
I've been there before, but their site was a bit difficult to navigate. Have they updated in the last few months?Thanks for pointing that out, though.
Torque Owner Joe Melton
Fails At Making Games