Explore the community Forums Lectora Lectora Questions & Answers Web window communicate with Lectora course? Reply To: Web window communicate with Lectora course?

#427993 Score: 0
Profile photo of Darrel Somoza
Darrel Somoza
Member
contributor
friend finder
beginner
intermediate
junior moderator
advanced
wise owl
curious george
profile
209 pts
@Klaatu

Yes, you can use JavaScript to assign the Lectora reserved variable AICC_Score in a dummy hidden Lectora test..  VarAICC_Score.set(godotScore) if your variable in the Godot content that holds the final score is called godotScore.

This is an over simplification, you still need to set up a dummy test in Lectora and if memory serves me correct, you might have other default Lectora test settings that need to be adjusted (perhaps include test score in overall score needs to be unchecked because there is no (Lectora) test score?)

If you have a sample, including the Godot content authoring files, time permitting I will try to work on it. No promises though as I am busier than a long tailed cat in a room full of rocking chairs.