Why doesn't the state change automaticly?
Jul 18, 2013
I have a course in which three movies in three different scenes MUST be watched.
On the starting scene I have three buttons to start the three different movie-scenes.
Next to each button there is a textbox that says 'Watch'.
After watching a certain movie this textbox must automaticly change to 'Completed'.
So I have created two states for each textbox: NORMAL (default) and COMPLETED.
In the movies scenes a button appears when the movies ends. When this button is clicked three things will happen:
1: a variable with the name 'Movie1' (and Movie2 and Movie3) is set to 'true' (default is set to 'false')
2: the course returns to the starting scene. NOTE: the variable is first in line!!!
3: in the starting scene there is a slide-trigger that will notice the changed state of 'Movie1' and that must set the state of the textbox to COMPLETED.
The problem is that when I execute the course the textbox does NOT automaticly change from 'Watch' to 'Completed'.
I tried to do the same with de movie as a layer in the starting scene and then it works! But I need the movie scenes because they contain more than one slide...
What am I doing wrong here???
Kind regards, Michiel
10 Replies
Hi Michiel and welcome to Heroes!
It sounds like it would be best if you submit a Support case. Please let us know if there is anything else we can do to assist!
Do you have a trigger that changes the state to completed?
If you can post your file someone can take a look. Completed is not a a built instate, visited is
Michiel;
It is difficult to know without seeing your file but I picked up on one word that may be the issue,
3: in the starting scene there is a slide-trigger that will notice the changed state of 'Movie1' and that must set the state of the textbox to COMPLETED
You cannot use the trigger "when variable changes" if the change is occurring on another slide as it wont see it. When it comes back to that slide the change has already occurred if that makes sense.
the trigger you would use is a trigger on the main slide that would say change state of "Watch" to "Completed" when timeline starts, with the condition Movie1=True
I hope this helps.
Tim
Thanks for you replies. I did made use of variables, but it doesn't to be working.
I made a simple test story to show you what I did and share it here. In the scenes I put tekst to explain what I want to accomplish.
https://docs.google.com/file/d/0B8Ekz1ThKwXZZkdaRERfRExWRFE/edit?usp=sharing
Hi Michel,
If you alter the trigger 'change state of checkmark 1 to completed when...' to say 'when timeline starts' it should work. I tend to avoid using 'when variable changes' as I haven't yet managed to get that to work.
Hope this helps,
Harri
Hi Michael
Just had a look at your file and it is exactly as Tim suggested - the trigger on the slide in Scene 1 needs to be when 'Timeline starts'. You can only use the 'Variable changes' timing for a trigger when it all happens on a single slide. If you update your trigger as shown here
it works nicely.
Regards
Helen
Dear Harri and Ellen, you are my heroes! This did the trick!
Thanks a ton!
Warm regards, Michiel
You're welcome
Glad to be of service
Thanks Harri and Ellen for the helpful screenshots! Glad it all worked for you Michiel and if you need anything else, please let us know!
This discussion is closed. You can start a new discussion or contact Articulate Support.