Supporting Decision Frames in Know It? mode

From UPK wiki
Jump to: navigation, search

Overview

With Alternative Paths, a trainee playing the simulation in Try It! mode will see that the 'branch' icon in the Bubble, and can click on this icon to go down this alternative path. With a Decision Frame, the trainee (in Try It! mode) will be presented with a list of options (one per path), and must explicitly select an option to go down the corresponding Decision Path.

In Know It! mode, things work slightly differently. With an Alternative Path, the trainee will not see the 'branch' icon in the Bubble, but they will be able to perform the Alternative Action and be directed down the alternative path. However, Decision Frames are simply not displayed in Know It! mode, and the trainee is automatically directed down the primary path, meaning that there is no opportunity for them to follow the other Decision Paths. But with a little bit of effort, it is possible to support these other Decision Paths in Know It! mode.

Adding a Decision Path to Know It! mode

To allow a Decision Path to be followed in Know It? mode, you need to create an Alternative Path that will direct the trainee down the secondary Decision Path. This needs to be inserted on the first Action Frame after the Decision Frame (on the primary path), and should join the secondary path on the frame after the first Action Frame on the secondary path. The Alternative Action that triggers this secondary path should be exactly the same action as the first Action Frame action for secondary path. This is better illusstrated by an example:

Let's assume that our logic is that the trainee can click Button 1 or Button 2. If they click Button 1, they have to complete Field 1, Field 2, and Field 5. If they click Button 2, they have to complete Field 3, Field 4, and Field 5. This is illustrated in the first half of the image (between the Start Frame and the Explanation Frame) shows a standard Alternative Path.

Decisions In KnowIt.png

The actions for this are as follows:

  1. On Frame A, primary action is Press Button 1:
    1. Complete Field 1
    2. Complete Field 2
  2. On Frame A, secondary action is Press Button 2:
    1. Complete Field 3
    2. Complete Field 4
  3. Complete Field 5

To change this logic to use a Decision Frame, we effectively need to split the Frame containing our Alternative Path into two separate Frames, and place a new Decision Frame before the path split. Our logic then becomes:

  1. On Frame B, choose Decision Path 1:
    1. Press Button 1
    2. Complete Field 1
    3. Complete Field 2
  2. On Frame C, choose Decision Path 2:
    1. Press Button 2
    2. Complete Field 3
    3. Complete Field 4
  3. Complete Field 5

This is illustrated in the second half of the image above (from the Explanation Frame to the End Frame).

To provide a way for trainees in Know It? mode to pass to the secondary path (Decision Path 2), we now add an Alternative Path to Frame C (in the image above), that has the same action as Frame D. Now, the trainee in Know It? mode is automatically directed along the primary path, but on the first Frame of this - Frame C - they can perform the Alternative Action and be directed down the secondary path. Effectively, this Frame (C) is now exactly the same as Frame A in our original (Alternative Path) example.

However, we're not quite done yet. In Try It! mode, a trainee who selects the primary path will then see the 'branch' icon at Frame C (because we now have an Alternative Action on this Frame. This does not make sense, as the trainee has just chosen to follow the primary path. We can mitigate this by hiding all of the text for the Alternative Action on Frame C. This will prevent the 'branch' icon from being displayed in the Bubble. Unfortunately, due to a limitation in UPK, the Bubble will still contain space for the icon (so it looks as though there is an extra carriage return in the bubble text), but that's a minor irritation. Also, although we have hidden the Alternative Action in Try It! mode, it will still be available, and a trainee could perform the Alternative Action (on Frame C). However, given that there is no indication that it even exists, they are unlikely to do so (and if they do manage to guess, they will simply be directed down the secondary path - nothing will 'break', and they will not see any 'false logic').

Finally, the trainee in Know It! mode will not be asked to make a decision in the way that the trainee in Try It! mode is, but this is probably what you want anyway. If you really did want to ask them, then you could insert some Custom Text into the Bubble (on Frame C, in our example), telling them that they can do A or B, and then tag this text so that it only appears in Know It! mode.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox