QueScript / Reference / <script>¶
<script>
Simple Example¶
<script>
<var name="myVariable">345</var>
<play name"Start"/>
<que name="Start" loop="no">
....
</que>
<que name="Reset" loop="no">
....
</que>
</script>
Attributes¶
- None
Child Commands that have to appear in this sequence.¶
if this sequence is not adhered to, it will cause a parsing error.
Explained¶
the <script> is the root element of the QueScript-file.
the * <[[stop|QS1-var-cmd]]> node will cause to stop and remove all still running ques. if a name attribute is set, it will only stop the que with the specific name.
the * <[[stop|QS1-var-cmd]]> node will start playing the named que upon loading the script.
the <que> has to come after all the other child nodes.