Variable not saving to LMS properly
I've came across a problem I can't handle with my knowledge.
I have a course with 7 interactions, on which, depends on answers, I give points form 0 to 1, like 0.15, or 0.5.
It is done on feedback layers, where I simply have trigger "Add 0.5 to variable points" or "Add 0.2 when ... smth happens". Because I have very individual interactions, if someones wonder why it is not handled like default way.
Then, it is calculated on Master Slide Layer as follows:
Set calc equal to the value of points when variable points change
Divide calc by 7 when variable points change
Multiply calc by 100 when variable points change
Set percent equal to calc when calc changes
I show on the layer all the variables, so I have something like points - calc - percent. I finish intercation, I got 0.8 - 11.2 - 11. All the values are ok.
Now I shut down the course and enter it once again.
And I see 0 - 11.2 - 11, so the calc and percent are stored normally, and points are reseted to 0 (I don't reset points anywhere) - why is it happening?
It's scorm 1.2 and suspestion data are not so long, 237 characters.
Any idea here? Or how I can fix it?