Am I using the right format

lefay39
28 Jan 2013, 12:19
Hi

I am creating a text adventure and I want to add some clickable dialogue choices, i.e. say A, say B or say C. These should trigger various scripts.

It now occurs to me that maybe I can't do this in a text adventure and really need to be doing this game as a gamebook. Is that right? If not, can anyone tell me how to do this in a text adventure?

Regards

Sarah

Pertex
29 Jan 2013, 07:34
I think you could do it with CommandLink http://quest5.net/wiki/CommandLink. Create a command "say A" and then call

msg (CommandLink("say A", "text to display"))

lefay39
29 Jan 2013, 15:14
Thank you very much. I eventually decided to implement what I wanted as a menu, but I will try your suggestion next time - you can never have too many tricks up your sleeve :D