AIConnect?
by CodingChris · in Torque Game Engine · 12/29/2006 (5:24 am) · 41 replies
Hi,
I'm making a bot which is handled as player. I create the bot in the function startGame() with:
I'm making a bot which is handled as player. I create the bot in the function startGame() with:
%botConnection = aiConnect("MasterBlaster" @ %i, -1, 0.5, false, "SDF", 1.0);then in onClientEnterGame:if (%this.isAIControlled()) {
%this.player = CreateAIWheeledVehicle2("Herbie","CarPath",pickSpawnPoint());
}Now everything works fine but then I need something in startRace:$Bot.followPath("CarPath", -1);
$Bot.lap = -1;
$Bot.nextCheck = 1;I replaced $Bot with all I know something with serverconnection, aiconnection... and nothing does work. How to say something to this bot?About the author
Torque Owner Fucifer