User Guide
Building Type 1, Type 2, and Type 3 Commands 211
Building a Type 3 Command
The following procedure documents how to build a Type 3 command in the Simulation
window. A Type 3 command executes Set and Compare operations and then, based on the
result, links a menu PGC to a cell, program, PGC, or Resume point.
To build a Type 3 command in the Simulation window:
1 In the Scenario Editor, select an entry PCG or menu PGC.
2 If the Simulation window is not visible, select View > Simulation Window.
3 At the bottom of the Simulation window, click the PGC Commands tab.
4 Set the Pre/Post/Cell menu to the type of command you will create.
If you select Pre or Post, you will only be able to create a Jump To link from the menu
PGC to a Resume location. If you select Cell, you can create a Jump To link to any of the
destinations in the Jump To menu.
5 Deselect the No Command option.
6 Set the Command menu to Type 3 Command. The Type, Set, Compare, and Jump To
sections appear.
7 Set the Type menu to one of the following Type 3 commands:
Set Compare LinkSIns Sets a GPRM or SPRM value and compares it to another GPRM,
SPRM, or specified value. If the compare is True, the Jump instruction is executed.
Compare & Set-LinkSIns Compares a GPRM or SPRM value to another GPRM, SPRM, or
specified value. If the compare is True, the value is set and the Jump instruction is
executed.
Compare-Set & LinkSIns Compares a GPRM or SPRM value to another GPRM, SPRM, or
specified value. If the compare is True, the value is set and, regardless of whether the
compare is True, the Jump instruction is executed.