Getting Variables to Work in Game


I took the Elevator Game I found here and did some tweaking to it.  I was attempting to have the "quiz" button I created go from disabled to normal after so many medallions earned.  I tried using a trigger on the main master slide to change the "quiz" button from disabled to normal after one medallion was earned but it won't flip even after I get one medallion.  Does anyone know what I am doing wrong?  Here is an example of the file I am working on.

2 Replies
Walt Hamilton

I didn't spend a lot of time with your file, but think this trigger is your problem:


This trigger can notice when Medalions changes only if it is changed on this slide. If it changes somewhere, no one hears it change, but it does change. Variables are persistent and universal in value; that means any slide can change their value, and all slides can find out what the new value is.  But they are reticent about changing; that means they don't like to tell everybody what they are doing in private.

So this trigger needs something different to initiate it. Something like "When timeline starts..." or  "When user clicks ..."