Hello everyone, I would need an answer to a solution I don't seem to be able to fix. I would require a script or something that stops and cancels any movement the player or an event would still have to do when their controlling event is closed, instead of still staying stuck to following all of those commands.
There is an event that will be lead by a kind of a state machine. This state machine is basically several Common Events that switch in between. However, the 3 movement events (one of which can be active per moment) has the event move on a route, everything have "wait" as command, since it seems Parallel Processes and JavaScript have a fun time skipping through all the non-Wait move commands, ending the event prematurely if I don't giff them Wait.
Another event handles that event's detection of the player, and if player is detected, the stance switches. However... the event is still stuck to following the rest of the move commands even if that Common Parallel Event had its switch closed (due to my needing to use Wait). Is there an option to cancel any remaining move commands? Only way I tried is to use Conditionals to check whether the event is on or off, and if it's off, the else would send the event to its end through Jump to Label. Did this and game crashed XD Guess doing 100 such if - else conditionals with Jump to Labels really doesn't make poor JSON files happy XD Like... I really don't want to do again such conditionals for each step to check event switch state.
Anyone could help? Thank you, hugs, you are loved and appreciated!
There is an event that will be lead by a kind of a state machine. This state machine is basically several Common Events that switch in between. However, the 3 movement events (one of which can be active per moment) has the event move on a route, everything have "wait" as command, since it seems Parallel Processes and JavaScript have a fun time skipping through all the non-Wait move commands, ending the event prematurely if I don't giff them Wait.
Another event handles that event's detection of the player, and if player is detected, the stance switches. However... the event is still stuck to following the rest of the move commands even if that Common Parallel Event had its switch closed (due to my needing to use Wait). Is there an option to cancel any remaining move commands? Only way I tried is to use Conditionals to check whether the event is on or off, and if it's off, the else would send the event to its end through Jump to Label. Did this and game crashed XD Guess doing 100 such if - else conditionals with Jump to Labels really doesn't make poor JSON files happy XD Like... I really don't want to do again such conditionals for each step to check event switch state.
Anyone could help? Thank you, hugs, you are loved and appreciated!