asking questions
younggloves
21 Mar 2012, 06:55Hi all sorry to be a pain as I know this will be fairly easy for most of you.
Could somebody please walk me through how I could get quest to ask for the user to answer a question, then if the correct input is given a reward then,goes to the player.
incorrect answers get another response.
Hopefully this is easy. I love this quest programme as I've always wantgaed to write a text but i'm not too strong on the programming side of things.
Thanks for the help.
Ben
Could somebody please walk me through how I could get quest to ask for the user to answer a question, then if the correct input is given a reward then,goes to the player.
incorrect answers get another response.
Hopefully this is easy. I love this quest programme as I've always wantgaed to write a text but i'm not too strong on the programming side of things.
Thanks for the help.
Ben

Pertex
21 Mar 2012, 14:36Please stop spamming the forum!!!
younggloves
21 Mar 2012, 14:41I'm not, please I need some help with the questions I've posted

Pertex
21 Mar 2012, 15:00you mean something like this?
msg("first question:")
answer= GetInput()
if (answer="....") {
msg("Right answer")
} else {
msg("Wrong answer")
}
younggloves
21 Mar 2012, 16:49Thanks for getting back to me, where do I copy the script to?
Sorry to be a pain, but i'm really trying
Sorry to be a pain, but i'm really trying

Pertex
21 Mar 2012, 16:56look at this script
younggloves
21 Mar 2012, 22:44That's so good of you thank you, I'll have a look tomorrow.
I'll let you know you I get on
I'll let you know you I get on
younggloves
22 Mar 2012, 09:12Thats brill, thanks for that managed to get it going by printing a screen shot of the speak variable within the wizard of the software.
Don't know where I'd paste the script if I was trying to insert it somewhere in a game as I can't see any dialogue boxes that will allow you to paste in lines of code.
Thanks again for all the help
Don't know where I'd paste the script if I was trying to insert it somewhere in a game as I can't see any dialogue boxes that will allow you to paste in lines of code.
Thanks again for all the help

Pertex
22 Mar 2012, 10:38younggloves wrote: as I can't see any dialogue boxes that will allow you to paste in lines of code.
There is a codeview-button in Q5, where you can switch to an editor with your gamecode