Forum Discussion
DiannaBeards049
3 years agoCommunity Member
User selection toggle with variable score toggle
Hello - Learning storyline, but cannot figure out a solution to this problem for my scenario. I want user to select multiple action items from a text list, and once it is selected it is visible to u...
WaltHamilton
3 years agoSuper Hero
Give the item a Selected state, and when it is clicked it will automatically change to that state. When clicked if it is in Selected state, it will change to Normal. The Selected state is truly a toggle state. It is the only toggle in SL that functions without a trigger.
Create a trigger to add to variable when item is clicked IF state of item is equal to Selected (the state is changed before the triggers are evaluated).
Create another trigger to subtract from the variable when the item is clicked IF the state of the object is not equal to Selected.