Forum Discussion
Looping States using number variable and button trigger.
Good call to attach the .story file. That helps a lot.
Unfortunately, I am in a spot where I won’t have access to SL until tonight, but maybe I can make a guess that will get you moving again.
Remember that when there are several actions that share the same initiator (like when arrow is pressed), when that initiator occurs, all of those actions are implemented (depending on any conditions they may have individually). They are processed in order, and without regard to whether any previous action has or has not met its conditions.
So the first thing you need to check is that the triggers are fired on arrow push. and not a variable change. That would cause them to never stop changing.
The second thing is to be sure the “1 changes to 10” trigger is in the list before the “30 changes to 1” trigger, because they are processed in the order they are on the list. If “change 30 to 1” is first, then when it reaches “change 1 to 10”, it would respond exactly the way you describe.
There are other problems that could cause that same behavior, but I’d have to look at the innards to know.
Thanks for the suggestions Walt. I have looked at the order of the triggers and all seem to be good.