Stopping a Script
desilets
07 Jan 2012, 16:23Hi, All,
I'm new to Quest, and I find that I have a rather fundamental question to ask. I've tried to find the answer in the Quest Wiki and in this forum, but I'm afraid I haven't found it as yet.
In a Quest script, what command can I use to stop the script from executing at some particular point? This command would be the equivalent of "stop the action" in Inform 7.
Thanks in advance.
Peace,
Brendan Desilets
I'm new to Quest, and I find that I have a rather fundamental question to ask. I've tried to find the answer in the Quest Wiki and in this forum, but I'm afraid I haven't found it as yet.
In a Quest script, what command can I use to stop the script from executing at some particular point? This command would be the equivalent of "stop the action" in Inform 7.
Thanks in advance.
Peace,
Brendan Desilets
Alex
07 Jan 2012, 19:04You could achieve this using an "if" - putting the rest of the script inside the "Then" so that it only ran if a certain condition was satisfied.