Forum Discussion

SarahSexton's avatar
SarahSexton
Community Member
15 days ago
Solved

Trigger 2 actions with the same slide layers

I need assistance.  I am trying to trigger the next button to work and the "Show Layer" when all of the objects on the main slide have been "visited".  The Next button works but the Show Layer will not work.  I have attached the articulate file.  

  • Nedim's avatar
    Nedim
    14 days ago

    You could create a T/F variable, e.g., 'allClicked', and set it to False initially. Then, create a trigger to change the variable to True when all objects are Visited.

    Additionally, create another trigger to run when the timeline ends on each layer. Remove the old trigger on the base layer that sets the arrow state to Normal. 

     

  • Barring additional details, I assume you were having problems with slide 1.4, and it jumping back to 1.3 when you clicked Next prematurely. If so, your No Advance Layer on that slide is set to jump back to Slide 1.3. Change the trigger back to This Slide and it should be fixed.

    Otherwise, the basic functionality of the Next and No Advance Layers was working for me.

    If this was not your problem, could you elaborate further?

    • SarahSexton's avatar
      SarahSexton
      Community Member

      Thank you for responding.  Thank you for sharing the information of Slide 1.4, I have not corrected that mistake, but, no, actually I have an additional issue.  

      On slide 1.3 I am trying to 2 actions to occur on the same state change.  So, my goal is to create a conditional next button that jumps to the next slide when the user clicks it, if the state of all the objects are visited AND show slide layer 6 Completion arrow.  

      What currently is happening is that the next button functions as I intended but the slide layer of the arrow does not.  This is an action that I would place on all of my course slides that require the learner to complete an activity or task before moving on to the next slide.

      What am I doing wrong?  OR Do you have a better/easier way to accomplish these actions?

      Thank you again for your support.  This is one of my last "to-do's" on my list before we go live with this course.

  • Nedim's avatar
    Nedim
    Community Member

    I think you would need to uncheck the "Hide other slide layers" option in each Layer's Properties to make the Layer 6 Completion arrow visible. Right now, it is displayed in the background but isn't visible because the other slide layers are set to hide the others. However, if you uncheck the "Hide other slide layers" option, the content from multiple layers will overlap, so it's not an ideal solution. Instead, I recommend placing the Completion arrow on the base layer and setting its state to hidden. Then, use a trigger to control its visibility when needed (when all objects are visited).




    This way, the arrow will show when all objects are visited, regardless of which layer is currently open.

    Example:

    • SarahSexton's avatar
      SarahSexton
      Community Member

      This sounds like a fantastic idea.  When I go to States, Hidden is not one of my choices.

       

      • Nedim's avatar
        Nedim
        Community Member

        No need to edit state. Just change initial state. Then you should be able to change it back to Normal with a trigger.