|
Axe Software Forums
Quest Developer Forum Hey!
|
Author | Topic: Hey! |
edman |
posted 16-06-2003 03:23 BST
Hi, it's Edman again! I was wondering how to make events. Like say Infocom's "Ballyhoo" (which if you guys tried could remake, you can now get it free) there's a midget trying to get a sip of water from a drinking fountain. If you do an action, it keeps cycling through the efforts of the midget. How can I do that? |
Alex |
posted 17-06-2003 11:44 BST
The easiest way to do this is probably to add a Room After Turn Script to the room. Get it to increment a "midget" numeric variable or similar: Go to the Variables category, select "Set a numeric variable", and then enter the variable name: midget and the variable contents: %midget% + 1 Next add conditional script commands to check the value of the "midget" numeric variable and print the appropriate message. To the final one, add a command to set the "midget" numeric variable back to 0. You'll also need to set this variable to 0 when the player enters the room or the game starts. |