Starting a battle with all party and enemies having a state

Hiya. I need a way to start battles with everybody-- both party and enemies-- in certain states. The states may be removed or changed during battle, but once the next battle begins, the states must be back again. I want to do this without a script if possible. Thanks!
   Can't you just add the state to all active members and enemies in a troop event set to the condition of turn 0? If the state is consistent throughout all battles you might want to look into Yanfly's scripts for the script "base troop events" that allows for one troop's properties to be applied to all other troops, otherwise if you are hell bent on not using scripts (as it sounds, since you seem to make daily requests for non-script solutions to your problems) then you'd merely have to copy/paste that event to each possible encounter in the game.


   You might also consider looking into the tutorial section a bit as well, seeing as how you do seem to have at least one new question every day and they run the gambit from really basic (like this one, unless I'm missing something) to complicated; you'd be surprised how much those basics compile themselves into answers to your ideas over time, and without having to answer the more simplistic questions half the time people might be more willing to take a crack at the questions you ask that actually require a bit of thought in order to answer.
You might also consider looking into the tutorial section a bit as well, seeing as how you do seem to have at least one new question every day and they run the gambit from really basic (like this one, unless I'm missing something) to complicated; you'd be surprised how much those basics compile themselves into answers to your ideas over time, and without having to answer the more simplistic questions half the time people might be more willing to take a crack at the questions you ask that actually require a bit of thought in order to answer.



Yeah, I think you're right. I could probably afford to go through tutorials again, as it's been awhile. But I've been feeling pushed to try to get some of the skills done first. More importantly, I think, the biggest thing is that most of the tutorials are really basic overviews and don't cover any of the finer or more creative solutions very clearly. But I will get back into tutorials again sometime.


Gonna screw around with troop events now. Thanks!


Also, many of the scripts I try break things or are overly complex; not to mention that I want to make this "engine" for both Ace and MV, and so I want to maximize compatibility with minimum effort. And hey, this choice works out most of the time-- I even found a non-script, database-only solution to breaking the damage formula box's character limit! 😀


Update: I still don't know how to apply states to enemies using an event. I've looked everywhere!
Use a troop event, set it to run on turn 0, and then have it apply the state to all in the party (page 1 of events on ACE) and all in the enemy (page 3 of events on ACE). You'll need to add this to every troop event that this is needed for though, but a copy/paste into all troop events should take care of that.


And, if this only is to apply under certain conditions, you can even add a conditional branch to the troop event to check the condition.


As for the script solution mentioned, that script does exist in MV and ACE form. However, I'd only consider that route if you need this feature for *every* single battle in the game (as you invite more errors in your engine by avoiding the script now than by using it, due to how often you'll need to copy/paste the code). If you only need this feature for say 5 - 10 troops, then not using a script is better honestly (and honestly, I don't use this script as I only needed it for very specific boss battles, and my method under paragraph 1 has worked perfectly for that!).
Use a troop event, set it to run on turn 0, and then have it apply the state to all in the party (page 1 of events on ACE) and all in the enemy (page 3 of events on ACE). You'll need to add this to every troop event that this is needed for though, but a copy/paste into all troop events should take care of that.



I keep forgetting that the Actor states and Enemy states event commands are different. Gah. Thanks! 😀

Original thread: https://forums.rpgmakerweb.com/threads/starting-a-battle-with-all-party-and-enemies-having-a-state.60165/