Forum Discussion

Eric2's avatar
Eric2
Community Member
2 hours ago

Conditional Triggers/Hot Spots

Good morning,

I am working on making a gamified training on procurement practices in child nutrition programs and am getting stuck as it relates to conditional triggers and hot spots. 

The premise of the training is that the learners will choose 1 of 10 "avatars" to follow them around on the procurement learning track. After they choose their avatar, they will be asked what kind of program they are (for example, slide 1.20 on the attached). Here is where I am getting stuck. On the slides in the row that I have the green arrow pointed to in my screenshot; I have a base layer and two additional layers. 

The base layer has a video that plays and then reveals the first question with two hot spots indicating if they are a Private Non-Profit Sponsor or a Public or Charter Sponsor (all ten of the avatars are asked the same questions).

The second layer asks if they are NSLP sponsors or if they are SFSP only. 

I am trying to send them to one of 4 learning tracks based on how they answer these questions. I thought that I had figured out what I needed to do trigger wise to accomplish this, but I have not proven successful. 

I have been trying to solve the issue with slide 1.20 as a test. Here are the triggers I have on 1.20 on the "Private Public Layer." 

And here is what I currently have on 1.20 for the NSLP or SFSP Only layer.

What is happening is, that the story progresses based on whichever trigger is higher in the order and not based on the hot spot clicks. For example, it will jump to Scene 2 no matter how the learner clicks on the hot spots since it is higher in the trigger order than jumping to Scene 3. I tested it by moving the Scene 3 jump above the Scene 2 jump and it began jumping to Scene 3 regardless of how they click on the hot spots. 

I am not sure where I am going wrong here, any assistance in resolving this is appreciated and I have attached the story file for you as well. 

5 Replies

  • Silverfire's avatar
    Silverfire
    Community Member

    It looks like the course is showing the layer and then executing that layer. It never sets the variable because it has jumped to the layer already. I'd try dragging the variable setting trigger before the show layer trigger. 

    • Eric2's avatar
      Eric2
      Community Member

      I tried moving some of the triggers around based on my understanding of your suggestion but that didn't seem to resolve the issue. Am I needing to move somethings from the "NSLP or SFSP Only" layer to the "Private or Public" layer? 

  • Eric2​ : I can't look at the file right now, but I'll try to help. 

    It's true that triggers run in order. If the trigger to jump to scene 2 always performs that action, that means its condition has been met. So check your programming related to that. I suggest showing the variable reference on the slide during development. That lets you see whether the variable is changing as expected.

    Personally, I'd use a text variable, and adjust its value to "Public" or "Private" with the corresponding actions. Then, for example, use one trigger to jump to a scene 2 with the condition that the variable = "Private." Add an Else statement that jumps to scene 3.

    • Eric2's avatar
      Eric2
      Community Member

      Thank you for the response, JudyNollet​. I see what you mean, that it is prioritizing the jump rather than the "True/False" variables I set to the hot spots. I forgot to include these in my original post but these are the names of the hot spots:

      Layer 1 where it asks Private or PublicLayer 2 where it asks NSLP or SFSP only

      I made some text variables as you suggested as well but am having a little trouble figuring out how they fit into the puzzle. I am just sort of lost right now as it seems like my true/false variables should be sufficient. I hope that the additional above screenshots help. I tried adding some else statements but I'm sure I am doing something else wrong here. 

      • Eric2's avatar
        Eric2
        Community Member

        JudyNollet​ Not sure why my screenshots didn't post. This is from the layer that asks "Private or Public" 

        This is the layer that asks NSLP or SFSP Only. 

        My idea is "When user clicks NSLP (and if they hit private on previous layer) then the user goes to scene 2." Conversely, when "When the user clicks NSLP" (and they clicked public on the previous layer) then user goes to scene 3."