RPG Maker 2k3 - play Animation while common event is processing AND THAT COMMON EVENT CONTAINS A WAI

vergilkilla

Warper
Member
Joined
May 16, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Hello All. 

I have a common event that starts a timer, waits 0.5s, then starts another timer. 

Before I call this common event from a battle event, I play an animation (from the Battle Event - because this is the only way to reliably show an animation in battle - common events seem to play battle animation sound file, but do not display in battle)

So the battle event is:

Battle event {
>Show Anim
>Call Common Event
}

The intent is that the animation will play SIMULTANEOUS to the common event processing -. I have set the common event to a "Parallel Process" with this intent in mind.

The problem is it only KIND OF works. It has a very specific issue - the common event executes normally until it hits the "Wait 0.5s" - when it hits that Wait command, it does not resume execution until the animation triggered by the battle event ends (a time period much longer than 0.5s).
 

So to reiterate, what currently happens is:

  • The animation plays as triggered from the battle event
  • The first timer starts (I've displayed it on-screen to confirm). This part is working fine - the timer starts despite the animation playing simultaneously.
  • When the common event hits the "Wait 0.5s", it waits for the animation to complete! Even if the animation has another full 1 second of execution and I've set the wait to 0.1s, or 0.2s, whatever.... it still does not continue execution onto the next line of the common event until that animation is completely done playing. If I remove the wait, both timers show up fine. The problem is that I need the wait in there - it is being used as an offset between the timers that I then evaluate later (long story).
Does anybody know why this is? Is there any way to work around this? This is sort of the last difficult thing I want to do with the battle system - I'll be ecstatic if I can get this to work because the rest is all easy stuff in comparison.

Thanks,
Vergi
 
Last edited by a moderator:

Felix Trapper

old fogey
Veteran
Joined
Mar 14, 2012
Messages
163
Reaction score
117
First Language
English
Primarily Uses
Not sure how to fix that exact issue, it seems like a limitation of the way RM2K3 processes those commands. 

I suspect you are working on a timed-hits battle system. Have you experimented with the Key Input Processing and storing the amount of time it takes to push the button to a variable?
 

muramasa

Abomination of life, or life itself.
Veteran
Joined
Apr 29, 2012
Messages
581
Reaction score
294
First Language
Spanish
Primarily Uses
At the "Show Battle Animation" window, there is a check that says something about stopping processing. Is that checked? If not, then the Wait command is somehow causing the animation to stop processing until it ends, just how it should do when that check is marked.

I remember having problems with these things, and I don't remember what did I do to fix them, or if I just gave up "orz.
 

MirageV

Veteran
Veteran
Joined
Apr 5, 2012
Messages
46
Reaction score
43
First Language
English
Primarily Uses
Uncheck 'wait for animation' in the show battle animation window, and instead, put a seperate wait under the command. This should stop any wait spikes after the battle animation finishes.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I keep trying to explain to clients that the huddle masses behind the old K-Mart are a Fallout Reenactment group. Somehow I don't think they believe me. :LZSskeptic:
Hey people! What do you think about a core plugin? This will save some lines of code that I repeatedly use in all my plugins...
Wondering if I should make my enemies scale in my non-linear rpg. I'm leaning towards yes, but I don't want to use Yanfly's plugin...
French folk trying to pronounce English words. I loved how the man pronounced squirrel as 'square friend'.
Therapist: any questions? Me: Yeah, are there actually people who think Hotel California is about drugs and not fame or are people just trying to upset me?
Therapist: They WHAT?

Forum statistics

Threads
94,592
Messages
922,149
Members
124,462
Latest member
souldoood
Top