I can get my results slde to work the way I want, except I would like to take my score points and divide them by 10 to get my results, I am not a programmer and don't know how to do this in JavaScript. If you could tell me what I need to do after I type in (%Results2.scorepoints% points) in order to make it divide this score by 10, please let me know.
(%Results2.ScorePoints% points) divided by 10
(%Results2.ScorePoints% points) /10
or does it have something to do with the variables?
Speaking of which, it would be really nice if SL had two numeric types. Instead of just "number", we really need "integer" and "real". When you start doing math and displaying results, you'll see why.
Speaking of which, it would be really nice if SL had two numeric types. Instead of just "number", we really need "integer" and "real". When you start doing math and displaying results, you'll see why.
(Hey, Russ--I just can't resist with this.) "Just get real."
Can you show me how to do that? I have each answer set to various points. that is working but I need to know how to type the code in there for my total points to be divided by 10. I m really new to articulate storyline and need a bit more help. Could you show me?
7 Replies
Yes, it will require the use of variables.
Assign the results.scorepoints value to a user-defined numeric variable. Divide that by 10 and display that.
Speaking of which, it would be really nice if SL had two numeric types. Instead of just "number", we really need "integer" and "real". When you start doing math and displaying results, you'll see why.
why not just set each question to 1 point each, if you only want to know how many questions you got right
(Hey, Russ--I just can't resist with this.) "Just get real."
Commence face palm . . .
Can you show me how to do that? I have each answer set to various points. that is working but I need to know how to type the code in there for my total points to be divided by 10. I m really new to articulate storyline and need a bit more help. Could you show me?
Thanks
Two triggers per variable with an action of "adjust variable".
First trigger - assign value of results2.scorpoints to a "number" variable that you defined
Second trigger - divide your "number" variable by 10
Hehe... Heck, we already have real. "Get integer!"
This discussion is closed. You can start a new discussion or contact Articulate Support.