Game Development Community

NEWB ?: RPGDialogue Resource on the Realm Wars Head. Broke?

by Kyle Le Master · in Torque Game Engine · 10/03/2004 (6:02 pm) · 0 replies

Hey guys, sorry for another silly newb question. I'm sure it's just becuase of the changes to the AIPlayer class or something, or possibly the Real Wars mod itself, but if anyone could help here, I'd appreciate it.


I'm kind of a newb with Torque and I was having this error with this resource:
(I am building from the current HEAD of Realm Wars from the CVS.)

After console call spawnTestNPC();

----->

rw/scripts/server/RPGDialog.cs (194): Unable to instantiate non-conobject class AIPlayer.

<------

The fuction calls also produce errors:

rw/scripts/server/RPGDialog.cs (198): Unable to find object: '0' attempting to call function 'setMoveSpeed();'.

The rest of the functions produce the same error. I also wasn't getting good spawn data for the TestNPC, the only alteration I made was :

pickSpawnPoint();

to

pickSpawnPoint(2);

Now the console shows that I have (at least) one good spawn point. But the other errors keep it from ever spawing the NPC. Any ideas?

Thanks in advance!