Copy link to clipboard
Copied
Hi!
So, I have an if/else statement that changes the state of the screen.
1 button to be the pivotal element. 13 different states. 1 variable to increase each time a state is viewed so a learner will be guided through each state seamlessly.
The idea with this is to have only one action, and to save so much confusion (and troubleshooting) in the timeline by using state changes vs 13 different groups.
So the if/else statement has 12 tabs. Each tab will change the state and increase a variable by one. But because the action naturally wants to play through all 12 tabs, EVEN IF it finds a statement to be true, the variable is automatically increased all the way from 0 (or 1) to 13 and the state change goes to the last state. The learner never sees the middle.
How do I stop an if/else statement from progressing from the various tabs when it finds its first true statement?
I added a pause to the action, and that did not help at all.
Do I need 13 different actions and 13 groups of graphics/text vs states?
NOTE: the course is still very much under construction; please disregard ugly screen shots.
You simply cannot stop an advanced action in Captivate, it will always be evaluated totally. You have to set up the sequence of the decisions in a reverse order so that you don't override the present situation (in decision 1) with a next decision (I suspect this will happen with decision 2). Have a look at this article, which I wrote following a similar wrong set up by another user. You can use increment or decrement instead of assign. I explain here how to set up correctly (it is in the ClickC
...Copy link to clipboard
Copied
You simply cannot stop an advanced action in Captivate, it will always be evaluated totally. You have to set up the sequence of the decisions in a reverse order so that you don't override the present situation (in decision 1) with a next decision (I suspect this will happen with decision 2). Have a look at this article, which I wrote following a similar wrong set up by another user. You can use increment or decrement instead of assign. I explain here how to set up correctly (it is in the ClickClick part):
http://blog.lilybiri.com/blog-after-posterous-clickclick
If you want more help, please post a screenshot of the ​complete​ action: there is a Preview button at the top right, the first button in that control panel for actions (looks like a Play button). That will show the complete action.
BTW Pause is a command to pause the playhead on the slide on runtime.
Copy link to clipboard
Copied
Yes, I knew about the pause -- was just grasping for straws.
THIS WORKED BEAUTIFULLY! Makes sense. Don't know why I didn't think of that. Thank you so very much, Lilybiri. You're response was incredibly fast. Thank you!
Copy link to clipboard
Copied
You're welcome!