Parallel Process Common Event During Battle?

Hey everyone,

I have a script that continuously displays and updates graphics based on actor conditions while on the map, and I would like for it to continue doing this during battle.  I tried to accomplish this by calling a common event that runs the script method in the Troop window and by setting the 'Span' field to 'Moment', but this just appears to loop the script and hang up the battle.  

Is there no way to run a true parallel process during battle?
Parallel processes are stopped on all screens (and the battle is a screen like the menu- or status screens).

You can either try to have the troop events to the processing (not exactly parallel, but once per turn should work in most cases), or you can try out Tsukihime's script that creates an interpreter for eventing during screens (sorry, don't know the name and don't have the link at the moment, just look through the list in her blog).
Once a turn unfortunately isn't often enough in this case, but Tsukuhime's script sounds like it may do the trick.  I'll see if I can find it and report back!
You can put it on the troops tab and set the span to moment. Then it'll run for the entire battle (not once per turn, but continually).


The biggest drawback with this is, if it's something you want to run for ALL battles, you have to set it up on every troop.


Here is Tsukihime's Global Common Events script mentioned by Andar.
You can put it on the troops tab and set the span to moment. Then it'll run for the entire battle (not once per turn, but continually).

The biggest drawback with this is, if it's something you want to run for ALL battles, you have to set it up on every troop.

Here is Tsukihime's Global Common Events script mentioned by Andar.
That's what I was trying initially, but for some reason that caused the battle to hang up (like it was just looping my script).  On the bright side, Tsukihime's script worked perfectly in my quick initial test, so hopefully this is the answer!  Thanks a lot guys.  Now I can even update character portrait graphics in the menu when equipment gets changed out.
Actually, having re-read your initial post, I think a better method would be ditching events altogether (since it's a script call you want to make) and just add an extra line in the battle script to call your other script once per frame, or to be more efficient, at the point where an action would logically cause the graphic to change (so it's not running continually, checking for something that might only happen once - or never - in an entire battle).


But since you've got it working the other way, This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/parallel-process-common-event-during-battle.18008/