We are going to consume one general parameter register GPRM1 for this purpose.
The virtual commands can be typed in as following. For more complex virtual
commands, you can use the DVD Virtual Command Generator included with this guide.
Mov GPRM1,1
(Initialize the starting number from 1)
Rnd GPRM1,5
(Generate a random number from 1 to 5 in GPRM1)
Add GPRM1,2
(We want to skip the first two slide shows)
If (GPRM1 == 4) LinkPGCN 4
(If GPRM1 is 4, play back the slide show 3.2)
If (GPRM1 == 5) LinkPGCN 5
(If GPRM1 is 5, play back the slide show 3.3)
If (GPRM1 == 6) LinkPGCN 6
(If GPRM1 is 6, play back the slide show 3.4)
If (GPRM1 == 7) LinkPGCN 7
(If GPRM1 is 7, play back the slide show 3.5)
Any other value in GPRM1 initiates the playback of the slide show 3.1 (PGC 3).
The following screen shot shows the required virtual commands.
The following screen is displayed to show the customized pre-commands. If you want
to make changes or add more commands, click the Edit... button.
Order today your DVD-Lab Pro Authoring guides with professionally prepared NTSC/PAL
video samples, Digital Dolby AC-3 audio samples, menu backgrounds and buttons,
and get a copy of the DVD virtual command generator, absolutely free. You can get
immediate help with your authoring project by clicking on the following icon.