Hello,
I tried to look on the forums to see if this has been answered but maybe i am not looking at the right terms. I have a fatigue system in my game that when you hit a certain variable threshold, the players speed should be permanently decreased across all maps until items or certain decisions increase the variable and then change the speed back. Currently I am setting speed 2 ways: a common event that is being called whenever energy is decreased that sets the player movement route speed:
And in a plugin I wrote that decreases the energy level whenever a step is taken:
I am finding that if players open a menu and then close it, the speed resets back to the default map speed. It feels clunky to have a parallel common event running every 10 frames to set the players speed, and not only that, but because its setting it so often the players movement becomes choppy. Is there a better way to handle this?
Thanks!
I tried to look on the forums to see if this has been answered but maybe i am not looking at the right terms. I have a fatigue system in my game that when you hit a certain variable threshold, the players speed should be permanently decreased across all maps until items or certain decisions increase the variable and then change the speed back. Currently I am setting speed 2 ways: a common event that is being called whenever energy is decreased that sets the player movement route speed:
And in a plugin I wrote that decreases the energy level whenever a step is taken:
I am finding that if players open a menu and then close it, the speed resets back to the default map speed. It feels clunky to have a parallel common event running every 10 frames to set the players speed, and not only that, but because its setting it so often the players movement becomes choppy. Is there a better way to handle this?
Thanks!