akaneko

Villager
Member
Joined
Jun 28, 2021
Messages
14
Reaction score
4
First Language
vietnamese
Primarily Uses
RMMV
I have 6 actors in the party, but i want to appear only 3 actors at the same time in the battle.
The enemy is similar. Is there a way to do this?
 

Solar_Flare

Veteran
Veteran
Joined
Jun 6, 2020
Messages
650
Reaction score
264
First Language
English
Primarily Uses
RMMV
Copy-paste this into a .js file and enable it as a plugin:
JavaScript:
Game_Party.prototype.maxBattleMembers = function() {
    return 3;
};

For enemies, just set up your troops so that only 3 appear at any one time.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,703
Reaction score
15,298
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Requests. Thank you.

 

Piyan Glupak

Veteran
Veteran
Joined
Nov 14, 2016
Messages
104
Reaction score
48
First Language
English
Copy-paste this into a .js file and enable it as a plugin:
JavaScript:
Game_Party.prototype.maxBattleMembers = function() {
    return 3;
};

For enemies, just set up your troops so that only 3 appear at any one time.
Thank you very much, Solar_Flare. It works, by the way. Not sure that I will ever need it, but I just wanted to try putting something in Trihan's plugin skeleton:


Might have a go with something else simple at some point, maybe something that I have had a go at on my own.
Edit: Just in case anyone is interested, I will attempt to include what I ended up with here.
//============================================================================= // threeBattlePartyMembers.js //============================================================================= /*: * @plugindesc *This plugin changes the default 4 party members who take part in battles to 3. * @author Code - Solar Flare, plugin "Skeleton" - Trihan, combined - Piyan Glupak * version 1.0 * @help * * Plug in and play, no parameters or script commands to use. * * TERMS OF USE * Freely available for use in commercial and non-commercial games. No liability * accepted for its use. * * COMPATIBILITY * No compatability issues known of */ Game_Party.prototype.maxBattleMembers = function() { return 3; };

;
 
Last edited:

Latest Threads

Latest Profile Posts

you know, some days you get resentful that game dev is even considered a "fun job" and other days it's like, welp, time to roll up my sleeves and code these molotov cocktails
If you suck at playing trumpets, that is probably why.
Been sick with a stomach virus for seven days now. Not going to work tomorrow because I'm still contagious according to my doctor.
Much as I love my job, I really hate playing "office politics". It would be nice if I didn't have to pretend to be someone else all day long.
I wanna get back into showing off Battlers and other assets I create again. But i'm always haunted by the "It's not good/realistic enough" voices that keep me from doing so.

Maybe I should get back to it, I did enjoy showing off whatever I came up with!

Forum statistics

Threads
115,958
Messages
1,094,386
Members
151,223
Latest member
leolotus
Top