Adjusting variable calculator
Feb 13, 2020
Dear Community:
I am trying to build a calculator which is showing the running total between three variables which are made up of button sets.
I orginally wanted it to be a constant running total but was unable to figure that out and gave to have reset button. Now that isn't working.
I am trying to recreate: https://www.mdcalc.com/los-angeles-motor-scale-lams
Can anyone look at my trigger panel and see where I messed up? I would love to get it as close as the above example.
Thanks,
Tamarah
5 Replies
I made second attempt at this here are it is it along with the first one, and it still isn't working.
Hello, do you want the feedback along with the total (as in the example)? Or just the total number.
Also, do you need a unique var per parameter (i.e. DrftArm, normalgrip etc.) thinking you may be using those somewhere else?
See attached file. I renamed a few things on the timeline so I could track them better. I believe one of the triggers had on rightClick vs on click and I also believe that the right buttons were not in all the right button groups, so I adjusted those two items.
I used 3 variables, one for each group to do the calculation. I made a variable for the feedback and changed that when the score changed.
I also removed all the states not used on the buttons as they were not behaving correctly, so just normal and selected.
Hope this works for you, let me know if you have any questions, good luck!
I think Jeff's method is great, here is another if you do not want to use a layer (I try not to most of the time).
I only used one variable, definitely not any better just a different way to achieve the same thing.
Thanks Phil and Jeff- they both work wonderfully and would of never thought of either solution. I had spent countless hours wrapping my brain on how I screwed up.
Thanks so much for the hand. I really appreciate.
This discussion is closed. You can start a new discussion or contact Articulate Support.