Hey, this will be a bit of a lengthy post. I'm hoping to provide enough details to get some feedback.
First, what I'm trying to attempt:
Throwing a flash pellet at a monster on the map and stunning it for 4 seconds. These are event-touch based monsters that start battles when they're next to the players.
I've accomplished this with no issues, however I've run into a terribly funky situation.
If I stand still after stunning the NPC the parallel process executing the conditional branch to track the timer (and self switch that turned it on) works just fine.
However, when I move while the NPC is 'stunned' the conditional branch that should be tracking the timer doesn't execute correctly.
All in all I have 4 parallel processes running on the map, 1 of which will only run for a 4 second duration.
The first parallel process tracks the X, Y coordinates of the player and the NPC(s) in question.
The second parallel process tracks the X, Y coordinates of the flash pellet event and sets it to the players X, Y coordinate so that the item appears to be thrown from the players position.
The third parallel process is a common event used for tracking a dash snippet to check and see if an item that increases movement speed is equipped or not. Not relevant to this entire formula, but a parallel process that is running nonetheless.
In short though, what can be done to force the game to recognize and correctly execute that fourth parallel process reliably? Setting it as auto-run is moot because then the player can't move either. Which renders stunning them useless.
It wouldn't be so bothersome if it didn't work at all... But it does work when I don't move at all during the entire timer duration. Strange and frustrating.
Hopefully someone can offer me some advice as to what's going on. Even better if they have a solution.
