PLEASE HELP ME WITH VERB BUG/PROBLEM
glonken
26 Feb 2008, 00:29I make a verb in the tutorial witch is "sit on" witch look like "Sit on sofa" for the player. I write a description witch says: You have no time to be loungin about now.
However when i type sit on sofa in the game afterwards i get the message (Or at least like this message):
- You cant sit on that
Even though I have done it right it wont work...
Please help me! This is so annyoing!
However when i type sit on sofa in the game afterwards i get the message (Or at least like this message):
- You cant sit on that
Even though I have done it right it wont work...
Please help me! This is so annyoing!
I think Im Dead
26 Feb 2008, 02:28Hi, while it's hard to tell what exactly is going wrong without seeing your code, I'll ask a couple questions and take a couple guesses.
Where exactly are you entering your description for what happens when the player tries to "sit on sofa"? Are you entering this in the verbs setup area, ie; Print a message saying "No time for lounging around"? Or are you entering it in the object set up verbs list? It's a little confusing but I think you need to ADD the verb to the sofa object and specify the message there.
You could always open your games .asl file with notepad and paste it's contents here for a better solution, hope that helps.
Where exactly are you entering your description for what happens when the player tries to "sit on sofa"? Are you entering this in the verbs setup area, ie; Print a message saying "No time for lounging around"? Or are you entering it in the object set up verbs list? It's a little confusing but I think you need to ADD the verb to the sofa object and specify the message there.
You could always open your games .asl file with notepad and paste it's contents here for a better solution, hope that helps.
glonken
26 Feb 2008, 07:37Hey thanks for the answer... I have just added "Sit on" Verb for the sofa, then it should print "You have no time for loungin about now" But it prints "You cant sit on it"
I have written the verb in the "Sofa" tree. But there's a verb in the object set up as well... Does that give you any answers?
I have written the verb in the "Sofa" tree. But there's a verb in the object set up as well... Does that give you any answers?
Alex
26 Feb 2008, 13:21Can you attach your ASL file? (Click Post Reply here, then the "Upload attachment" under the message)
glonken
26 Feb 2008, 18:31Of course. I dont know why but it happens sometimes with different verbs. Try to "sit on sofa" for example 

I think Im Dead
26 Feb 2008, 19:05Well that certainly is an odd one. I'm looking at the code sitting right next to my code which works fine and they are just about identical. I suppose an easy fix would be to just remove your Sit on verb in the game definition block, that forces quest to simply run Sit on from the object properties, but this certainly seems like a bug involving how Quest handles surfaces or perhaps just with verbs in general.
Alex
26 Feb 2008, 19:21It seems to be to do with the capital letter. If you change "Sit on" to "sit on", both in the verb definition and the sofa definition, it works.
I've added this to the list of bugs to fix.
I've added this to the list of bugs to fix.
glonken
27 Feb 2008, 11:12Thanks so much guys, probably this will help alot of people having the same problem. 
Im thinking about getting pro.
Over & out...

Im thinking about getting pro.
Over & out...