Game Development Community

RPGDialog error

by Dave · in Torque Game Engine Advanced · 02/08/2006 (6:09 am) · 1 replies

Hi,

I've got the RPGDialog resource working in TSE but still have to back up to talk to the NPC again, even after implementing the code to fix this as shown in the resource thread.

I'm getting some console errors of the following nature, don't know if they are relevant, but I suspect not.

(0): Unable to find function CloseQuestion
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
Syntax error in input.
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
Syntax error in input.

So there appears to be a function missing. It's not in the code from the resource page, but it's not in the original file either. Any help on either problem greatly appreciated.

Thanks,

Dave.

#1
02/08/2006 (6:52 am)
Hmmm, looks like closedialog instead of closequestion solves the backing up problem. Still get all those string errors though.