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,672
Reaction score
15,291
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
99
Reaction score
47
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

One uncomfortable truth that has withstood the test of time, is how most people will stand by while they see a crime happening, unless it's illegal to stand by. We probably wouldn't have stories about "special heroes" or games about heroes if the "everyday common folk" were largely capable of being heroes. Heroes face dangers that most people are not willing to.
I'm having toooo much fun designing the new MP (Mental Psyche) system. I've only worked it out for enemies so far, but it's fun to stun them, then go after their MP and delete them instead to farm for better item drops.
anyone know of a place I can promote my game? sorta like game awards but for indie devs, like a place where I can drop a trailer and like stir up some hype
Doing RPG Maker News for 17th October 2021

That moment when you came up with a very good game title, but when you searched it, it has already been used... T.T

Forum statistics

Threads
115,876
Messages
1,093,677
Members
151,123
Latest member
Smitty
Top