Game Development Community

AIPlayer::spawnPlayer doesn't exist

by mm · in Torque Game Engine · 10/21/2003 (1:05 pm) · 3 replies

Hi I am trying to put ai bots in my project and all the examples that I can find have the AIPlayer::spawnPlayer call but it doesn't exist in the last HEAD. Which call do I replace this with?

Thanks in advance!

Matt

#1
10/21/2003 (1:09 pm)
It changed. It's now AiPlayer::Spawn(%name, %location) I believe. (Just faced this issue a couple o' weeks ago.)
#2
10/21/2003 (1:20 pm)
Unless it's a script based function there is no AIPlayer::Spawn, or SpawnPlayer for that matter in the Torque Head. However This patch adds that functionality (on steroids).
#3
10/22/2003 (6:46 am)
@Both
Thank you both for your help, I think I got it working with the patch. :)