Dealing with the naming of variables
Hello Storyline developers,
I wonder how you deal with the following situation:
I have made an e-learning with +/- 80 slides and to prevent errors I have created new variables for every slide (because Storyline doesn't have the concept of slide variables: variables attached to one slide).
My variables have now the following naming convention:
slide[scene and slide number]_[description of variabele].
For example: slide414_moveSidebarUp.
The problem with this naming convention is that if I want to add a new slide before slide 4.14, I have the change the names of all the variables on slide 4.14 (now slide 4.15) and all the slides thereafter (in that scene).
The solution would be to create a short hash for every slide, but I'm too late for that now.
Does anybody have another kind of solution?
Thanks in advance!
If you change the variable names by editing them in the Variables window, Storyline will automatically adjust the names in the triggers.
Of course, you still have to rename all the variables if you include scene & slide numbers and then insert an extra slide. But at least you only have to do it once in the window, instead of locating all of the uses in the slide triggers.
BTW, I also recommend keeping the names as short as possible, so you can ID a variable by the first part of the name. For example, instead of "Slide11" for scene1, slide 1, I suggest "1_01."