VR Course Contest


Show us your best virtual reality course and win $50 gift card and a winner badge!
CHECK IT OUT

Onclick Advance to next image using variables?

2hawks
2hawks Community Member Posts: 64
I'm sure I'm on the right track trying to use a variable to keep this clean:

Left Arrow for going back.

Right Arrow for going forward.

A group of images/text descriptions



Click the Right Arrow to show Next Image. Action: OnClick VariableGroupDisplay add 1. Group1 is set to show if VariableGroupDisplay is Equal to 1.

Click Right Arrow to show Next Image. Action: VariableGroupDisplay add 1. Group2 is set to show if VariableGroupDisplay is Equal to 2.



And etc. Left arrow for going backward simply subtracts VariableGroupDisplay by 1 with each OnClick event.



Only trouble is, it doesn't work.



Can someone point out the error of this process or concept? I suspect that something needs to tell Group1, Group2, et al that the variable has changed so they know to display?



2hawks
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!