Forum Discussion
Trigger to Initialise/Reset ALL Variables in Storyline 360
I've been building an interaction today that uses a lot of variables. There's a point in the interaction where the learner has the chance to reset everything and I've had to add a LOT of triggers to reset the variables.
With this in mind I came up with a new feature request. It would be great if there was a trigger to reset either all developer-created project variables (obviously excluding Storyline's system variables) and/or have a check list of variables used in the project where a developer can specify which variables they want to reset via a trigger, i.e. reset variable X, Y & Z when button clicked, timeline starts etc. I believe this would save developers a lot of time and would help keep this element of a build clean.
I've requested the new feature here, if anyone else likes the sound of this I encourage you to do the same thing.
61 Replies
- ArticulateCreatCommunity Member
I'd also love to have a function to reset or change all (user created) variables, or multiple defined Variables in one trigger. Add me to the "petition"!
We have an interaction in our training courses, that relies on multiple variables, and if we use that more than once in a project we have to reset all variables to their initial state. Currently that's quite tedious to do.
- RobertChee-7495Community Member
I support this request as well. :)
- AndrewBaloga-ceCommunity Member
I have submitted requests for this functionality on several occasions.
Another feature I'd like to see is a text editor for the Triggers pane. When creating multiple triggers that are identical in function but require a variable change, it would be faster to edit than with the current method — and you could also incorporate comment lines.
Imagine the possibilities. (:
- PhilMayorSuper Hero
The new trigger panel will facilitate quick changes of a duplicated variable. I way to add comments would be great though
Sent from my iPhone
- MichaelJohns737Community Member
I support this request as well!
- LindsayLutmanCommunity Member
I support this feature request; particularly the ability to select a subset of project variables to be reset!
In a project just updated from Storyline 2 to 360, I was using JavaScript to reset all of the variables to "False". There are interactions that Toggle the variables when the user clicks (single) to either show an X (when True) or hide an X (when False). However, after the variables were reset using JavaScript it required users to double click to change the variable to True and display the X.
[View Project Using JavaScript to Change Variables]
I did not observe the same issue when using the built-in options of the "trigger builder"; if I made a trigger for each variable to change the value to "False" when the timeline starts it only required a single click.
[View Project Using Built-in Options to Make Triggers to Change Variables]
I tried using both lowercase "false" and uppercase "False"; both had the same result.
It seems like Storyline is not treating the "False" values in the JavaScript the same as the "False" values used in the built-in triggers. Has anyone run into a similar issue when using JavaScript to reset variables; do you have any suggestions to resolve the issue?
- RevaMcPollom-02Community Member
My vote for this feature as well. I assumed "restart course" would do it and it did not. What does "restart course" do?
- NathanWieler-cdCommunity Member
Restart course is supposed to reset your custom variables, reset slide states and send the user back to the beginning of the course. It does not re-lock/re-restrict the menu or reset any of the built-in variables, as one might expect.
- Rob_AuchenpaughCommunity Member
I was just looking for a way to reset all variables, as I have a set of courses where the user has the option before taking the quiz of starting the module over. I have chosen "revert to initial state" but really need to reset all the variables... or have the option to choose which variables to reset or not reset would be even better.
Any progress made on this request in the past few months?
- RenGomezStaff
Hi Robert,
Thanks for chiming in and add your plus one as well! This feature hasn't made it to the top of our roadmap, but we're still tracking requests and sharing any helpful insight with our team!
Here's a bit more about how we work to prioritize feature requests.
- AlainQuilliam-bCommunity Member
I also support this request, as we create various games where we'd like learners to restart without exiting/relaunching the content on the LMS, and hopefully without having to manually reset tons of variables at the end. In addition, we often have slides with "Resume saved state" ticked...but these would need to be reset once learners reach the end. I don't know if some kind of trigger could exist for this as well. Reset all variables + Reset all slides!
- AlainQuilliam-bCommunity Member
In this example, learners jump back to the main game slide, and not from the very beginning of content,
- AndyKerslakeCommunity Member
I would welcome this development. I have produced 2 IT Training applications, each with 150+ text fields. When revisiting a page, the variable is being retained. Ideally, I would reset ALL the variables each time the learner returns to the Main Menu.
Related Content
- 10 months ago
- 10 months ago
- 10 months ago
- 10 months ago
- 10 months ago