Adjusting cue points at run-time using javascript in Storyline 3

Jun 15, 2017

Is is possible to adjust a cue point (i.e., change its time position) using a javascript code in Articulate Storilane 3?

The final goal I would like to reach with it is to propose questions at a random time during the visualization of a lesson.

Thanks in advance for your support.

Plecto

7 Replies
Ashley Terwilliger-Pollard

Hi Plecto, 

Welcome to the E-Learning Heroes community! We're glad you're here.

For Javascript, I'd have to defer to the community as it's not something we support. But there are often a number of Javascript rock stars around here so hopefully they're able to chime in and share some ideas with you here. 

Walt Hamilton

You can pre-specify a certain set of random points to insert the questions. For example question 1 can occur at 5 seconds, 6 seconds, 7 seconds, or 8 seconds. Then create a trigger to set a variable to a random number between 5 and 8 when the timeline starts. Then create a trigger: Show layer Question1Layer when the timeline reaches 5 seconds if RandomVariable = 5. Repeat for the other three possible values.