Hello! I'm trying to use the Trigger Once While True condition to "gate" other events, hopefully cutting down on the number of events being checked every frame. Here's how I have a little section set up:
I have three base animations - Running, Jumping, and Rolling. The character's movement speed stat can change, so I have that stored in a variable. But as his movement speed increases, I want his run animation to speed up at the same time, which is what I'm trying to accomplish here. However, while this section works perfectly the first time it's triggered, when the player jumps (switching animations) and then eventually goes back to the run animation, it reverts back to the base animation speed, and this event doesn't trigger again.
I was hoping the change in animation would allow the "Trigger Once" condition to be reset, but it doesn't seem to. Disabling or removing the "Trigger Once" condition works perfectly well, and without any slowdown, so this isn't a big issue. I was just hoping to cut down on events per tick.
Should "Trigger Once While True" be working how I expect it to? Or am I just using it for a situation it was never intended for?
Thanks for reading