(o) : Unable to find function aiPlayer However, when I try on my apple it works. I have opened my backup and"> Adding Bot in Console not Working PC but OSX yes | Technical Issues | Forums | Community | GarageGames.com

Game Development Community

Adding Bot in Console not Working PC but OSX yes

by Sventhors · in Technical Issues · 08/08/2005 (4:44 pm) · 4 replies

Im trying to add an Bot using the console menu.

I type in $mybot01=aiAddPlayer("Sponge"); in my console and I get this error in
(o) : Unable to find function aiPlayer

However, when I try on my apple it works.

I have opened my backup and it does not work and redownloaded and the same error. Is my computer messed or seeting or is this common promblem. Do you do it differently on PC from mac?

Do I have to move some .h or .cc files around. Im really confused.

#1
08/08/2005 (5:08 pm)
Post the function aiAddPlayer...(is that a custom function, if its in .cs post it for us)
#2
08/08/2005 (5:12 pm)
Ok, i see thats a source function...try the following
AIPlayer::spawn("Sponge",pickSpawnPoint());
#3
08/08/2005 (5:28 pm)
Got it it to work. But Why did it work on my Apple not on my PC when
I type this in Console
$mybot01=aiAddPlayer("Sponge");

Interesting. Thanks
#4
08/08/2005 (5:43 pm)
Got it it to work. But Why did it work on my Apple not on my PC when
I type this in Console
$mybot01=aiAddPlayer("Sponge");

Interesting. Thanks