RPG Maker Forums

Hey,


so I'm having an annoying issue and I'm not sure if it's solvable. I'm using the <Custom React Effect> from Yanfly's Buffs & States Core and inside that I call a common event via "$gameTemp.reserveCommonEvent(52);".


My problem is, that this event always is called right after the whole custom react effect code.


A simple example:


Inside the state:


<Custom React Effect>


console.log("1.");


$gameTemp.reserveCommonEvent(1);


console.log("3.");


<Custom React Effect>


inside common event #1 I'm just making a script call with the following inside:


console.log("2.");


Instead of being "1.  2.  3.", the order in the console pops up as "1.  3.  2.". It seems like the commont event isn't called instantaniously but, as I said, after the whole custom react effect.


Does anyone know how to evade this effect, so that the common event is called right on the spot, or if it's even possible?

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,546
Members
137,835
Latest member
yetisteven
Top