Forum Discussion
GarrisonWilliam
3 months agoCommunity Member
Jump to Slide %Variable%
Surely there is a way to do this. I can create a trigger for each state of the variable. But this requires creating a trigger for each variable state on every slide that requires it. It would be muc...
Nathan_Hilliard
Community Member
Note: Since Articulate doesn't officially support JavaScript, this could change in the future, but...
Jumping around via variables requires JavaScript. Articulate has exposed the JumpToSlide() method under GetPlayer().
On any given Storyline slide, the built-in variable Slide.Id holds the slide ID. Record the IDs of the slides you want to use and assign them, as needed, to a variable named slideID.
From JavaScript, inside a trigger, fetch the value of slideID from Storyline:
var slideID = GetPlayer().GetVar("slideID");
then, jump to your desired slide:
GetPlayer().JumpToSlide(slideID);
GarrisonWilliam
3 months agoCommunity Member
This is very helpful. I'll give it a try. Thank you!