Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This will fire Success/Fail on any "Launch New Scripts" resources that launched this Script. It lets you manage the control flow from Director Scripts essentially. It is not necessary to use these Event Status options, but if you choose to, here is an overview:

...

You can see in the above example that:

  1. A script is launched within a script.

  2. In the second script, a Multiple Choice Resource is used. This resource associated a “Success” event with getting the question correct and a “Fail” event with getting the question incorrect.

  3. There are two child frames under the Multiple Choice Resource, representing the branches for Success and Fail. Both of them have an End Script Resource in them with the appropriate Status chosen from the down.

  4. In the original script, there are two branch frames. In the Condition area, the Success or Fail of the Launch Script Resource (in Step 1) is added. When the Condition is met, the Resources in this frame will fire.

Example

This resource is used often to, as mentioned, terminate the current script.

  • At the end of any script, add the End Script Resource in with a Condition that triggers it (so that it doesn’t End prematurely):

...

Keep in mind that most resources will also shut down once the End Script resource is used.