-
Notifications
You must be signed in to change notification settings - Fork 0
QS0 play cmd
maybites edited this page Sep 12, 2022
·
1 revision
home/reference v0.x/<play>
<play name="(string)"/>
<play name="nextCue"/>
- None
- name = required. the name of the <que> to execute playing.
- None
Plays another <que> inside the same script.
<que name="Start" loop="no">
<play name="Reset"/>
<wait trigger="resetDone"/>
<print>Reseted. Ready for action</print>
</que>
<que name="Reset" loop="no">
<print>Executing Reset</print>
<trigger>resetDone</trigger>
</que>
When <que> 'Start' is played, first thing it will start playing <que> 'Reset' and <wait> for a trigger called 'resetDone'. When <que> 'Reset' plays, it first <print>s out the message 'Executing Reset' and then sends a <trigger>-message 'resetDone'. Which the <wait> cmd inside 'Start' will pickup and carry on with <print>ing 'Reseted. Ready for action'.
(c) by Martin Froehlich maybites