Battle with one actor at a time.

TheBrogrammer

Arving Startist
Veteran
Joined
Apr 2, 2012
Messages
235
Reaction score
25
First Language
English
Primarily Uses
Hello!  I'd like to request a (hopefully) simple script.

It handles how actors are used in battle.  I'd like a script that makes the actors battle the enemy one-on-one. 

Imagine if the heroes in an RPG battled in a line.  The first hero to battle the enemy would be the first in line.  No one else would battle the enemy, until the first hero died. The second hero would then take his place, and so-on until the enemy is defeated or all the heroes have died. 

The closest example I can think of to reference would be Pokemon.  You have a party of 6 Pokemon, but you only use one Pokemon at a time in battle.  In Pokemon, you also have the ability to switch.  I will NOT request a switching feature.  If you wish to program one in so that others may use it, go right ahead, but please make it optional.

Thanks in advance to whoever takes this request!
 
Last edited by a moderator:

whitesphere

Veteran
Veteran
Joined
Mar 14, 2014
Messages
1,688
Reaction score
784
First Language
English
You don't need a script to do a version of this. 

If you have your Encounters be Common Events, you can easily modify the Party using Add/Remove Member so only the first Actor is there.  Then use the Battle Processing command to have the now one-member Party battle an enemy.  Then modify the Party after the Battle so the second Actor is present, and have that one-member Party battle a different enemy, and so on.
 

TheBrogrammer

Arving Startist
Veteran
Joined
Apr 2, 2012
Messages
235
Reaction score
25
First Language
English
Primarily Uses
Thanks for the response!

Would you keep the individual actor's equipment if you returned him to the party?  Wouldn't you have to rebattle the enemy every time the lone actor failed?  I'm looking for a system that "sends out" the next actor after the first one died in the same battle.  Also, if you re-arrange the formation of your actors, the common event won't work, because it's tailored for a specific party order.  It does work in theory, but I want to do something different.
 
Last edited by a moderator:

whitesphere

Veteran
Veteran
Joined
Mar 14, 2014
Messages
1,688
Reaction score
784
First Language
English
In Battle Processing, if you have "Continue Even When Loser" checked, you will have a branch that says "If Lose"  If the Actor loses the battle, the "If Lose" branch gets executed, so you can have the next Actor do the same battle.  Or you can have the game go to the Game Over screen if that's the last Actor.

The "Continue Even When Loser" checkbox lets you have unwinnable battles, where losing does NOT trigger an automatic Game Over.

What exactly do you want to happen?  The Actors to execute in Formation order?

If so, that wouldn't work with the method I mentioned.
 

TheBrogrammer

Arving Startist
Veteran
Joined
Apr 2, 2012
Messages
235
Reaction score
25
First Language
English
Primarily Uses
If you lose the battle, doesn't it automatically take you back to the map?  I could be mistaken though...

I do.  I was planning on the actor order to be an important part of the strategy.  Thanks for the help anyway!
 

Latest Threads

Latest Posts

Latest Profile Posts

Chilling out while toodling around someone's painstaking Minecraft recreation of Disneyland. It is mind-boggling and probably as close as I'll ever be to going.
>Testing with fonts change.
>Tries installing a plugin. Doesn't work.
>Tries changing the plugin commands. Doesn't work.
>Tries installing another plugin. Doesn't work.
>Changes a few more plugin commands. Doesn't work.
>Goes directly to the gamefont file and changes the src. Works.

YYEEEAAAAHHHAAAA

Perseverance is key, bois and girls.
What Reviews say on RPG Maker MZ?
Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.
Everything's going to be alright! We're all in this together. <3

Forum statistics

Threads
107,807
Messages
1,032,351
Members
139,952
Latest member
4kWave
Top