Battle with 3 party members even if your party is larger than 3?

Joined
Apr 23, 2017
Messages
11
Reaction score
1
First Language
English
Primarily Uses
Other
Let's say my party consists of 8 characters, but I only want to use 3 for any sort of battle. Is there a script for this, or some sort of work around in the natural mechanics of the engine?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
And do you have followers turned off, or do you only want 2 to follow instead of 3?

In that case, pop this into a new slot below Materials and above Main:

Code:
class Game_Party < Game_Unit
  def max_battle_members
    return 3
  end
end
The number returned above is used to determine how many will battle, but also how many party members you'll see on the map. If you want to affect one but not the other, it will be a little bit more complicated.
 
Joined
Apr 23, 2017
Messages
11
Reaction score
1
First Language
English
Primarily Uses
Other
And do you have followers turned off, or do you only want 2 to follow instead of 3?

In that case, pop this into a new slot below Materials and above Main:

Code:
class Game_Party < Game_Unit
  def max_battle_members
    return 3
  end
end
The number returned above is used to determine how many will battle, but also how many party members you'll see on the map. If you want to affect one but not the other, it will be a little bit more complicated.
Thank you! You're awesome. I'm assuming that the first three party members will be the battlers?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,715
First Language
English
Primarily Uses
RMMV
yes, that's right.
 

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

Latest Threads

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,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top