<- Last Tutorial Home Next ->

Set the Wait for.

One last thing. The buttons are connected to the correct controls, and the wave loops back to the buttons, but if we were to run this script the OZONE would not wait for button presses. We have to tell it to wait for a branch. Since we want it to wait at the second button, marked Exit we have to set properties in that control to make it wait.

  1. Double click on the button marked Exit
  2. Find the WaitFor property, and click on the [...] button. You will see the WaitFor dialogue
  3. Select the Wait for Branch option and press OK.

waitfordiag.jpg (8716 bytes)

 

Now OZONE will wait at that control until a branch happens. A branch will happen when one of the buttons is clicked.

Don’t forget the save the script file under a new name with the File menu Save As... selection.


logo5gif.gif (1878 bytes)
Home