Run common events inmediatelly when entering into a battle (NOT at "TURN 0").

HuskyTrooper

Veteran
Veteran
Joined
Oct 23, 2018
Messages
32
Reaction score
32
First Language
Spanish
Primarily Uses
RMMV
Hello, I need a script that lets me call a common event to run it inmediatelly when I enter into a Battle.

This is contrary to the "turn 0" activation method, which loads the events at the begining of turn 0.
What I need is a script that runs them inmediatelly before the "fade out", so, with a call of common events, I can inmediatelly do for example:

-Tint screen slowly right when the player enters inside the fight.
-Run script calls to make certain movement transitions effects on Battlebacks 1 and 2 if I use a script like "Battleback EX".
-Load parallel background sounds and weather effects.
-Load pictures in battle inmediatelly before the screen fades out (dunno if I'm saying it right, I mean, when the screen stops being black).
-Much more things that I currently can't think, potential of this feature is huge.

If someone is willing to take this request, you can of course share it with the community or do whatever you want with it as the author of the script, as long you, please, allow at least to me use it in my project which will go commercial in a years later once is minimally ready to release it to public (started it from scratch like two weeks ago because I lost all my VXAce project, so I take this as a chance to freshly start in MV).
Of course, every person helping me directly or indirectly that allows me to use their work in my commercial project, apart of getting one or more copies of the game and be added into credits list, will have more advantages that I'm still planning, because is pretty possible I'll try to make big promotion of it once is released to public.

Thank you in advance!

EDIT: @Yanfly maybe this function could be an extension for your Utility Plugin!
 
Last edited:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
common events do not run in battle. Are you asking for a plugin to allow that as well, or do you already have one that will do it, and you're just asking for an enhancement?

Are your battles random or evented? If evented, can't you do the fadeout prior to the battle processing call, then use the existing functions to do all your setup and then fadein?
 

HuskyTrooper

Veteran
Veteran
Joined
Oct 23, 2018
Messages
32
Reaction score
32
First Language
Spanish
Primarily Uses
RMMV
@Shaz randoms. The RPG Maker MV allows me to call common events on enemy troops events, at least the steam version, the function is on the page 1, even common events allows you to run other common events, maybe you meant parallel or auto events. With automatic run right after entering the battle would be okay, but all the process needs to be manipulated inside the Battle Scene, not outside, otherwise the changes can't be made, and it would lose a huge potential.

I don't have any script for achieve the inmediate activation of events, just mentioned @Yanfly before because all I could find was its Utility Plugin which loads common events after or prior many scenes but Battle loads, but I don't really need an enhancement of said plugin, I just need the function for inmediatelly load the common events instead of be activated after start turn 0.

Imagine use Common Event Pictures from Yanfly for example, or even better, functions exclusive to Battle Scene that needs to be loaded before the fade out starts so the player doesn't event notice something has been loaded, like for example... I dunno, fogs, tints, or even character graphics without the need of scriptings, special boss introductions from a random fight with messages and some slows tint changes from complete black after every message.

Just remember when scripting wasn't ever possible, common events are a beast if well used, but not allowing to inmediatelly load them before fade outs or certain scenes certain ideas might be affected a lot, just mentioning this because I seen incredible projects made with Rk/Rk3 like them were using some kind of script and all was pure eventing, freedom to use all event functions everywhere can make mind blows, but for my particular case, for now, the function I'm requesting here, is enough.
 
Last edited:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
no, that's okay - you can call a common event using the command in a battle, but not by setting it to parallel or autorun and turning on a switch.

So you want this stuff to happen before the player sees the battle screen? Are you sure you can't do that at 'start of turn 0'? I think playing with the span might let you do it.
 

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

Latest Threads

Latest Posts

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,047
Messages
1,018,539
Members
137,834
Latest member
EverNoir
Top