Connect a Script
- 12 Jun 2024
- 1 Minute to read
- Print
Connect a Script
- Updated on 12 Jun 2024
- 1 Minute to read
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback
- 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
- Select an object.
- Right click on the object and select 'Events'.
- Select the relevant event.
- Select 'Run script' from the 'Command' drop down.
- Click 'Browse' to select a script.
- Add a script timeout if needed.
Was this article helpful?