| script | Index |
Overview
The script primitive causes the Garcia API to parse an XML script text file and insert the behaviors from that file into its behavior queue.
Return Status
The return status will be the status of the last behavior executed by the script. A script will halt if a behavior within the script returns an unexpected status value.
Property Inheritance
script inherits Behavior inherits Object properties.
| Properties |
| filename |
filename (string) Name of XML script file to be executed. Setting this property begins the process of reading the file. This should be the last property set when creating a script behavior. |