Connect a Script
  • 12 Jun 2024
  • 1 Minute to read

Connect a Script


Article summary

  1. Under the Movie tab select 'Edit scripts':

2. Click the Add button under the relevant section, to browse for script files to run:

a. Load scripts -  run before scene resources (objects) are loaded (put in cache). They are executed in list order.

Playback will not wait for load scripts to finish executing, and may terminate script execution if it takes longer than the default stop timeout of 30 seconds. The script timeout will be optimized after each playback loop.

b. Background scripts -  run independently in the background. The script will start when the Dise Movie starts and will continue to run for the duration of the Dise Movie. If required, background scripts must be terminated from within the script.

Only one instance of a background script can be active.

Event Scripts

  1. Select an object.
  2. Right click on the object and select 'Events'.
  3. Select the relevant event.
  4. Select 'Run script' from the 'Command' drop down.
  5. Click 'Browse' to select a script.
  6. Add a script timeout if needed.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.