Altering the error message / improving the help message

gideonwilliams
20 Jun 2012, 15:07I was wondering if it was possible to alter the error message that appears for certain commands to give students hints on what they should write in a game.
For example in my game, students have to ask the wizard about a key but lots of them simply write "As wizard" in the dialogue box and then get the response - "I dont understand your command".
Is there a way I can alter/bypass this message to give them some sort of clue eg "you need to ask them about something..."
I notice that the Ask command does not appear in the Help feature - can I alter or add to this?
Thanks again for any help
For example in my game, students have to ask the wizard about a key but lots of them simply write "As wizard" in the dialogue box and then get the response - "I dont understand your command".
Is there a way I can alter/bypass this message to give them some sort of clue eg "you need to ask them about something..."
I notice that the Ask command does not appear in the Help feature - can I alter or add to this?
Thanks again for any help
Alex
20 Jun 2012, 18:58Feel free to add or edit the help wiki. If you need a login please email me at alex@axeuk.com and let me know your desired username.
You can customise the built-in messages by editing templates: http://quest5.net/wiki/Changing_templates
For the specific case of "ask wizard" you could add a command "ask #object#" which could print something helpful. (I assume you meant "ask wizard" and not "as wizard", as not sure how Quest could possibly deduce what the player meant to type if they make a typo!)
You can customise the built-in messages by editing templates: http://quest5.net/wiki/Changing_templates
For the specific case of "ask wizard" you could add a command "ask #object#" which could print something helpful. (I assume you meant "ask wizard" and not "as wizard", as not sure how Quest could possibly deduce what the player meant to type if they make a typo!)

gideonwilliams
25 Jun 2012, 23:10