Forum Discussion

DavidNowlin-f8a's avatar
DavidNowlin-f8a
Community Member
2 days ago
Solved

SL360 default values on dials

On a two dial radio where the large dial moves the active display from position 1 to position 6 and the smaller dial adjusts the number from 0 to 9. When the layer starts the default numbers are 1 4 1 0 0 0. The desired output will be 000060.

The learner turns the small dial to 0. This sets the first digit (1) to a 0. Then the large dial is turned one space and the cursor is on the second number (4).

The learner turns the small dial to 0 again. Then the large dial is turned one space and the cursor is on the third number (1).

If the learner turns the large dial left and the cursor goes over the first, second, or third, digits, the default values appear. This erases the previously inputted numbers from the learner.

This is not on JAVAScript. I know there is something simple to trigger the default values just once, but it is illuding me. I would prefer a non-JavaScript solution so I could understand the triggering system more, but I do have a JavaScript solution from another slide that a community member helped me with. 

 

Thanks

  • Hi, DavidNowlin-f8a​ .
    Thank you for sharing your .story file!

    You actually don’t need to create separate variables to hold the default values for each digit. Instead, you can set the default value directly in the Variables panel. Take a look at the screenshot below:

    If you’d prefer to keep your current setup, another option is to disable or delete the triggers that assign values from the “valueXdefault” variables to DigitDial1. There are seven of these triggers in total. (See the screenshot below for reference). I tested this approach, and I was able to move the dial to the left without seeing the default values appear again. 


    If you'd like to learn more about variables in Storyline, here's our user guide:
    Storyline 360 - Working with Variables

    Let me know if this works!

2 Replies

  • Hi, DavidNowlin-f8a​ .
    Thank you for sharing your .story file!

    You actually don’t need to create separate variables to hold the default values for each digit. Instead, you can set the default value directly in the Variables panel. Take a look at the screenshot below:

    If you’d prefer to keep your current setup, another option is to disable or delete the triggers that assign values from the “valueXdefault” variables to DigitDial1. There are seven of these triggers in total. (See the screenshot below for reference). I tested this approach, and I was able to move the dial to the left without seeing the default values appear again. 


    If you'd like to learn more about variables in Storyline, here's our user guide:
    Storyline 360 - Working with Variables

    Let me know if this works!

  • Thank you. That does fix the issue. But, I forgot to include that the dial needs to be set on whatever the current number is. I need the inner dial to set itself to what ever number it moves to. Currently if I move to the 4 the dial is on 1 or 0 and when it is turned, the 4 changes to a 1 or 2, not a 3 or 5. I realized I forgot that in the post. But the variable information is a big help. i overlooked that.