Difficulty passing variables to LMS as a quiz result
I have been looking through the forums trying to find a way to have SL360 pass a specific variable to our LMS (Scorm1.2) as the score for an activity instead of a quiz score. I found this link (https://articulate.com/support/article/Storyline-360-How-to-Send-the-Value-of-a-Variable-to-an-LMS), but the xAPI command won't work. Also, setting up the hidden short answer survey quiz, when going to adjust the variable, SL360 won't allow me to select any variable I have created. For example, I have a variable (TotalScore), which is a total of 2 other variables that change throughout the training. I am not allowed to select this variable when I want to change the variable of the short answer quiz, as per the above guide. I've also looked at https://www.swiftelearningservices.com/articulate-storyline-sending-learner-score-to-lms-using-javascript/ and was attempting the Javascript function, to no avail. It seems like the ability to do this has been brought up in discussions for over the last 7 years and no built in way to make a simple variable change has been added as a feature. Any ideas of what I can do to make this work would be greatly appreciated.