The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: D&P3 on April 24, 2012, 12:55:50 PM

Title: [VXA] Parallel Process Fix
Post by: D&P3 on April 24, 2012, 12:55:50 PM
Something I've noticed in VXA is that a 'Parallel Process' event doesn't seem to actually process when a text box is displayed.

E.G - I've got a parallel process which shows this
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg4host.net%2Fupload%2F241452194f96a203eb082.JPG&hash=ef1d745ac78fc426d709dfb1d891f60a4a983e44)

and when a text box pops-up it disappears
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg4host.net%2Fupload%2F241450194f96a18b048fc.JPG&hash=16eb89d12de743cc92e5a158c53c7ccd05150116)

but starts processing again after the text box disappears.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg4host.net%2Fupload%2F241452194f96a203eb082.JPG&hash=ef1d745ac78fc426d709dfb1d891f60a4a983e44)



I know that in VX, parallel process's are always functioning, even with a text box displayed, I was wondering if this could be fixed to do the same in VXA?
Title: Re: [VXA] Parallel Process Fix
Post by: Lunarea on April 24, 2012, 01:30:28 PM
You don't need a script for this. Archeia posted an easy fix. (http://forums.rpgmakerweb.com/index.php?/topic/57-rmvxace-tips-and-tricks/) :)

Quote from: Archeia_Nessiah1.) My Parallel Process Event won't run whenever I'm talking to somebody!

    Why? The reason why this happen is because of how RMVXAce handles event processing. This is due to Fiber.yield. It's going to be a long explanation and the only way to "Fix" this is to rewrite the game interpreter or the message system. But fret not, there's a way to fix this!

    Why should I be concerned? If you like making animated events through parallel processes, they would stop whenever a message box is visible!

    How to fix? Just put the commands of the parallel process event inside a loop or use labels. It will run normally~
Title: Re: [VXA] Parallel Process Fix
Post by: D&P3 on April 24, 2012, 01:43:49 PM
Simple enough, thanks :)