Forum Discussion

SteveBlane's avatar
SteveBlane
Community Member
14 years ago

Using Variables or States across Scenes

Here is my situation:

I have built a course that has one "home" screen  - an office.  Learners click part of the office (the phone for example) and are taken to another scene.  There they answer 8 questions and then return to the office.  There are 4 clickable things in the office.  18 questions in total.

Here is my request:

I want to be able to track that the questions have been completed.  For example, when all 8 questions in the phone scene have changed, I want that phone to grey out.  Then when all questions have been answered I want to have the exit button on the door become visible (this last part I've got).

So my question is how do you change states based on variable in other scenes/slides?  Or can you?

Thanks,

Steve

19 Replies

  • It's not losing its value; the value is not being changed. There is some sort of corruption with the trigger(s). I don't know which one is the problem, but when I deleted the two triggers associated with the CABtn on slide 1.2, and recreated them, they worked.

    For trouble-shooting purposes, I disabled the jump trigger on the CABtn, and added a jump trigger to the FWEBtn. That way, when I clicked on CABtn, I could see that the variable changed, and when I clicked on FWEBtn, the jump was successful.

    • PedroGutierrez-'s avatar
      PedroGutierrez-
      Community Member
      Walt Hamilton

      It's not losing its value; the value is not being changed. There is some sort of corruption with the trigger(s). I don't know which one is the problem, but when I deleted the two triggers associated with the CABtn on slide 1.2, and recreated them, they worked.

      For trouble-shooting purposes, I disabled the jump trigger on the CABtn, and added a jump trigger to the FWEBtn. That way, when I clicked on CABtn, I could see that the variable changed, and when I clicked on FWEBtn, the jump was successful.

      Thank you, Walt! Deleting and recreating the triggers did the trick.