Im currently working on my own fight system and i use lots of common events. I have 3 main events. One is the main event and the other two are paralell and react to the first event occasionally. Problem is, while most things work in the parallel events, a show text doesnt work and i dont know if im doing something wrong, if its a bug or if its not intended to do this.
Trouble with showing text in paralell event
RPG Maker MZ SupportShow Text needs to use the message window. If an event is already using that window, then other events will have to wait until the first one is finished with it.
Thoughts:
Thoughts:
- For displaying timed messages in the background you could consider a plugin like VisuStella MZ Gab Window. I've got something similar: feature Q33 of Cae_Tweaks, currently WIP. There are probably others.
- There may be plugins for showing a list of messages, like the battle log, if that's what you want.
- Another option is the TextPicture plugin present by default in new projects. You could use that to show and move messages around as pictures.
Thanks for your reply. I want to solve it without plugins. I just dont understand why it doesnt work
I had a suspicion, that it wouldnt work because of Show texts colliding, but i tested in with other events and in theory it should work, but i dont know what i should do diffrently.
I had a suspicion, that it wouldnt work because of Show texts colliding, but i tested in with other events and in theory it should work, but i dont know what i should do diffrently.
So i found a solution, but im not sure why it is the solution. iIt turns out i have to do a wait command after i set the switch for at least 1 frame for it order to work.
Non-Parallel events are processed through the main interpreter. There is only 1 main interpreter, so only 1 non-Parallel event can run at a time.
Each Parallel event is processed through its own interpreter, therefore any number of Parallel events can process simultaneously. Other than that, they are identical to other events. Parallel events get updated in series each frame, one after another, after the main interpreter. They update after other events.
You haven't actually described your events or posted screenshots, but I'm guessing you had two events something like this:
Each Parallel event is processed through its own interpreter, therefore any number of Parallel events can process simultaneously. Other than that, they are identical to other events. Parallel events get updated in series each frame, one after another, after the main interpreter. They update after other events.
You haven't actually described your events or posted screenshots, but I'm guessing you had two events something like this:
turn on switch X show text- Parallel (condition = switch X is ON):
show text
I strongly suggest you read through the tutorial "bughunting" in my signature.
It explains background about parallel processes and why you should use as few parallels as possible.
Those problems haven't changed since ever, so those parts are still important even if you can ignore some of the tips for errors with scripts (plugins have replaced scripts in newer versions)
It explains background about parallel processes and why you should use as few parallels as possible.
Those problems haven't changed since ever, so those parts are still important even if you can ignore some of the tips for errors with scripts (plugins have replaced scripts in newer versions)
Yeah i got rid of the parallel events and i just call them when i need to. Anyways thank you for you help and support.
Original thread: https://forums.rpgmakerweb.com/threads/trouble-with-showing-text-in-paralell-event.158561/