This is an old revision of the document!
Running And Debugging Scripts
Script Location
When you start working on your script, you want to keep it on your own computer(s), rather than publish it for all ARDI users to see.
ARDI provides a directory to keep all of your scripts (and any associated media files, such as voiceovers, images and videos).
It's located in your Documents folder. You should find a folder named Optrix/ARDI/<database-name>Scripts (for example, if your database is called “Headquarters”, it would be under Optrix/ARDI/Headquarters/Scripts)
Create your script XML file in this folder.
This is also the folder where you should place any media files your script needs. For example, you might want to include a voiceover file. Place it in the folder with your script.
See Supported Script Media Formats to know what type of files to use.
Running Your Locally-Saved Script
- Run ARDI-VE and connect to your server.
- Press F11
- Press Run Local Script
- Choose the script you want to run.
Using the Script Editor
Optrix offers a Windows-based script editor application. This connects directly to your ARDI instance and allows you to browse through the objects inside your scene and test your script - or individual lines in your script - directly.
Please contact Optrix if you would like a copy of the application.
Deploying
Once you've polished your script and have it ready for your audience, you can deploy it to your server.
See the Deploying Scripts to your Server article.