The Next button is not changing State to Normal

Aug 11, 2023

Hello!

I have triggers to disable the "Next" button and enable it when the states of the button are "Visited", but it is not working. Can someone please let me know what is wrong? The file is attached.

Thank you!

Yami

 

3 Replies
Judy Nollet

The Next button is enabled when the two buttons are Visited. 

  • You can test that by disabling the triggers on those buttons that jump to other slides. Do that, preview the slide, click both buttons, and the Next button will enable.

The problem is that the trigger to disable Next runs again when the user returns the slide.

I fixed that in the attached file by doing this: 

  • Create a T/F variable with a default state of False.
  • Add a condition to the trigger that disables Next, so it will only run when the variable = False.
  • Add a trigger that adjusts the variable to True when the buttons are Visited

Note: Changing Next to Normal when the buttons are Visited works well--as long as the user only has to view one slide, or if the slide they jump to has the Prev button disabled. 

The potential issue if you want them to view multiple slides (or a whole scene)? They could jump to the first slide, click Prev to return to that custom menu slide without viewing the rest of the slides, and the trigger would still recognize the button as Visited

The way to avoid that is to use variables to control when Next is enabled. These posts have more info: