I'm having a little trouble here. The first actor that joins the party has a common event attached to their basic attack that when they use it, it changes to something different. If another common event runs, this breaks down and what took one turn to change now takes three or four. Should i set the other events to paralel process? How can i do that without a trigger?
How to run multipule common events in battle
RPG Maker VXAce SupportCan you provide more details about what exactly happens and what is supposed to happen? Your description is quite vague.
You can run as many Common Events during a turn as you want. Your eventing is wrong if it only runs one at a time.
parallel processes don't work during battle. you can only call or attach common events, and their trigger should be set to none.
that said, most likely your logic is wrong somewhere because you should have no problem running multiple common events.
that said, most likely your logic is wrong somewhere because you should have no problem running multiple common events.
The common event that runs when they use their basic attack connects to a common event that changes a state by affecting a variable and reading conditinal branches. Then exiting event processing. The variable change is in each conditinal branch. I also am trying to have three states that when they're added or expire other common events run. The first is supposed to happen everytime they use one of their skills or commands. But when the three states are added that also run common events, this happens every third or fourth turn, instead of every turn
@Oddball your vague descriptions don't help because they don't allow us to see your logic and your triggers.
please post screenshots of those events.
please post screenshots of those events.
I was clear. But i'll post screenshots to help
EDIT: Aaaand i see a problem with the state. Reversing it so the state is added when it is removed instead didn't help though
here are my scripts
EDIT: Aaaand i see a problem with the state. Reversing it so the state is added when it is removed instead didn't help though
here are my scripts
You were not, otherwise we wouldn't have asked for more information. That said, you can improve the logic of your event making it easier to read (while still maintaining the same effect). The following image shows an event that works the same as yours, but is much shorter.
That said, when this event is called for the first time, since you put an "Exit event processing" in your branch for (variable == 0), nothing happens other than increasing your variable value. For the same reason, everything else is being delayed by 1 turn. If you want those changes to happen when the skill is used for the first time, you have to start checking from 0, changing 1 to 0, 2 to 1 and 3 to 2 in your conditional branches. In addition, you have to set the random value to be something between [0, 2] and not [1, 3]. With this your event will apply the desired change starting from the first time the skill is used.
NOTE: I used placeholder targets, states and variables, be sure to change them to be the ones you need.
Ok. The event did work perfectly before i added the states that ran common events
Your situation
What we can see
- 5 different states;
- 3 common events;
- 1 script.
What we can see
- 1 state (we don't know which one because there is no name shown);
- 3 common events (one of them is not completely visible either because the bottom part is cut);
- an attack that adds one state (we have no way to know if it is the one in the other screenshot or not).
Original thread: https://forums.rpgmakerweb.com/threads/how-to-run-multipule-common-events-in-battle.115388/