Conditional Targets for Incrementing Variables

I have a file where the user can select one of three options via touch event. When they choose option A B or C, it plays the respective file for each, then at the end has a touch event to go back to the first screen to select again (or a media end event, which ever comes first). However I want the media end event to take them to a fourth screen once A B & C have been viewed at least one time each. I set up user variables to count and am using an entry command to increment the variable for each of the three. How do I get it to look at all three variables to see if they are all >=1 before going to that fourth screen? It seems that its only looking at the first one in the conditional target list, vs all three of them. 


  • 1
    Monica Knutson

    You can use a SUM total variable if you're using boolean logic (1/0).  So if the SUM of A + B + C = 3.... then you know they're all watched.  Here is a thread that may help...  We implemented a similar thing with a quiz.




  • 1

    Another possibility to fudge and/or logic is to use numeric values (0 and 1) then concatenate them into another variable.

    For example, if A, B, and C change from 0 to 1 when selected, also set CombinedResult to $$A$$$$B$$$$C$$ in BrightAuthor, or for BrightAuthor:connected, set CombinedResult to {{A}}{{B}}{{C}}

    Then when you do your comparison of A and B and C you'd check if CombinedResult = 111
    For A or B or C you'd check if CombinedResult > 0 which would cover 001, 010, 100, 101, 110, and 111

    Don't forget to reset your variables at presentation start and logic resets.

    Adding an extra Image zone with Live Text displaying your variables will be of great help in debugging.

Please sign in to leave a comment.