简体   繁体   中英

How to set completed status using javascript trigger in articulate storyline 2

I want to set completed status to lms on a specific slide, so i have to use javascript trigger in this case. My question is: what should be the javascript code to set completed status on lms when this trigger runs on that specific slide.

Thanks in adavance

var player = GetPlayer();
player.SetVar("complete","complete");
player.SetVar("Incomplete","Incomplete");

Completed or incomplete status of storyline can be sent to lms using javascript trigger on any slide by using following code.

For completed: SetStatus("completed");

For incomplete: SetStatus("incomplete");

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM