Copy link to clipboard
Copied
Hi folks,
I am a proficient user of Articulate Storyline 2 but currently I am trying a trial version of Adope Captivate 9. As you can read in the title, I would like to change a variable value just once and only after a slide is viewed.
For example: I go through the course from the beginning to the end and then I come back to the previous slides.
Now, each of the variables that I have associated to each slides, should be changed, let's assume from 0 to 1.
Furthermore, after the variable is changed from 0 to 1, I would like to increment another variable which represents the chapter progress.
I am sure it is possible to do it, but I am actually struggling to find a solution.
Peace&Love,
Alessio
Copy link to clipboard
Copied
I do not understand your question very well, sorry. Is this correct:
Copy link to clipboard
Copied
Hi Lilybiri​, thank you for your prompt reply.
Yes, I would like to do something like that.
Let's assume I have created those variables:
1) V_Slide, (with value 0): it should change when a user has completely seen a slide (in Storyline 2, I set this trigger when the timeline finish, but here in Captivate I couldn't find this trigger). Hence, I think that your advise (use the next button as a trigger) could be a reasonable solution.
2) V_ProgressChapter (which it should be a number variable): its value increments by 1 each time a V_Slide changes its value.
Did I make my points more clear?
Thanks in advance,
Alessio
Copy link to clipboard
Copied
Captivate has an On Exit event as well, which can trigger an action but I rarely recommend to use that event (look at: Events and (advanced) Actions - Captivate blog ) because it only occurs when the last frame of a slide is reached. If you have a Next button that is not the case, because the frame where the action 'Go to Next Slide' happens is the pausing point of that Next button.
You need a user variable for each slide, although I don't know what you want to do later on with that variable? Do you want to use it when the user returns to that slide? That is not clear to me.
Same with increment for that other global variable v_progressChapter (be careful: names are case sensitive: if you want that to happen only the first time that a slide is reached, you'll need a conditional advanced action, not a standard action. If you don't allow to return to a slide, and want to have the action triggered by a Next button on each slide, I would recommend a shared action as mentioned, so that you only have to change the specific slide variable (v_slide1, v_slide2....) when applying the action:
Assign v_sliden with 1
Increment v_progressChapter by 1
Go to Next Slide
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more