Q-Code User Manual
Ver. 7.0 2021/11/30
169
commands cannot be used in the Sentence section.
Ex.
[Sentence]
S1: PlayV(CH2,$V0), DELAY(0.1), PlayV(CH2,$V1), DELAY(0.2), PlayV(CH2,$V2)
[Path]
PowerOn
: KEY1
TR1: PlayS($S1)
[Background1]
BG1: PlayS($S1)
[Background2]
BG3: PlayS($S1)
4.7.2 WaitSN(n)
If a sentence is being played, it will execute next command after finishing playing sentences. If there is
no playing sentence, it will immediately execute the next command.
n:
0=foreground, 1=background1, 2=background2, 3=background3. If n is not designated, the system
will execute the next command after all sentences finish playing.
Note: NY4 / NY5 / NY5+ / NY9T do not support this command.
Ex.
[Path]
TR1: PlayS($S1)
TR2: WaitSN(0), PB.0=1
;
Set PB.0 as 1 after sentence finishing playing.
4.7.3 PauseS(n)
This command can be used to pause the sentence which currently being played in designated
channel.
n:
0=foreground, 1=background1, 2=background2, 3=background3. If n is not designated, the system
will pause all playing sentences.
Note: NY4 / NY5 / NY5+ / NY9T do not support this command.
Ex.
PowerOn
: InputState
TR1: PlayS($S1)
TR2: PauseS
; Pause all the playing sentences.
TR3: ResumeS
; Resume all sentences.