Ask and tell do not do what I expect
spook1
07 Nov 2013, 23:34I am a total noob here.
As a teacher I would love to create a text based adventure.
I want to create several rooms with wizards in them. To progress from one room to the next, palyers have to interact with the wizards.
First the wizards tells the player to read or watch a website or youtube. Next the wizards asks a question about it.
I have read the tutorial and planned to use "ask"
That way the playwer can ask the wizard "how do I open the door" ( I intend to tag the ask-procedure with:[door, open, unlock, progress, key])
But when I try to create this, I see different things happen.
Clicking the wizards results in a list of objects, sometimes with twice the "ask" option in the menu.
When I enter a key-word like "open the door" the wizards tells me he does not understand.
i am clearly missing something here, but I do not see what it is...
I reread the manual over and over but I do not see my mistake.
Can anyone help me with a hint?
As a teacher I would love to create a text based adventure.
I want to create several rooms with wizards in them. To progress from one room to the next, palyers have to interact with the wizards.
First the wizards tells the player to read or watch a website or youtube. Next the wizards asks a question about it.
I have read the tutorial and planned to use "ask"
That way the playwer can ask the wizard "how do I open the door" ( I intend to tag the ask-procedure with:[door, open, unlock, progress, key])
But when I try to create this, I see different things happen.
Clicking the wizards results in a list of objects, sometimes with twice the "ask" option in the menu.
When I enter a key-word like "open the door" the wizards tells me he does not understand.
i am clearly missing something here, but I do not see what it is...
I reread the manual over and over but I do not see my mistake.
Can anyone help me with a hint?

Pertex
08 Nov 2013, 06:46It's difficult to solve a problem without seeing it. Could you append your game here?
spook1
08 Nov 2013, 11:11Thanks for your quick response and interest in my noob-problem.
The issue is with: "Geest van vergissingen"
When I add "ask" method, the game responds with a question: With which object?
I want to create a discussion based on a library, so that I can check if the answer of the player contains the words: "lezen", rather than using the result="lezen", which is to strict for my purposes
Regards
martijn
The issue is with: "Geest van vergissingen"
When I add "ask" method, the game responds with a question: With which object?
I want to create a discussion based on a library, so that I can check if the answer of the player contains the words: "lezen", rather than using the result="lezen", which is to strict for my purposes
Regards
martijn

Pertex
08 Nov 2013, 14:53I would create a new verb speakto and add it to the person with some scripts. You dont need to add speakto to the display verb list because it's shown twice in the object menu then. Have a look at the appended game
Hmm, another problem is the language file. There are some templates missing so you have to work with some english expressions in the game like "ask ... about ..."
Hmm, another problem is the language file. There are some templates missing so you have to work with some english expressions in the game like "ask ... about ..."
spook1
08 Nov 2013, 19:57Thanks!
Can I use a text parser with a this new speak to command?
Is there a tutorial for this?
I would like to check an answer with text parser.
Can I set up such a thing without programming?
Regards,
Martijn
Can I use a text parser with a this new speak to command?
Is there a tutorial for this?
I would like to check an answer with text parser.
Can I set up such a thing without programming?
Regards,
Martijn
spook1
09 Nov 2013, 14:04I can see that I can add a new verb.
But the great thing about the "Ask about" is that i can add subjects to talk about. I do not see how to realize that in a script in speakto, as in the example.
I tried to create something in english to overcome the language problems.
regards
Martijn
But the great thing about the "Ask about" is that i can add subjects to talk about. I do not see how to realize that in a script in speakto, as in the example.
I tried to create something in english to overcome the language problems.
regards
Martijn