Forum Discussion
BryanDombrov
3 years agoCommunity Member
Lock Scene Until Specific Period of Time Elapses
Hello,
I have a question regarding locking a scene. Is it possible to prevent a learner from accessing a scene until a certain period of time has elapsed? For example, let's say they finish Scene ...
SamHill
3 years agoSuper Hero
Yes, this would be possible but would require some JavaScript knowhow in order to store a current timestamp against a Storyline variable. That same timestamp could then be checked against the current date/time in order to determine if a button to access the locked scene is enabled or remains disabled.
I'm not sure about controlling the Storyline player table of contents buttons, but controlling an individual button would be easy.
Note: A JavaScript date/time is take from the users computer and could therefore be easily manipulated by changing the date/time on the users computer, and so shouldn't be used for anything that involves any risk.