Force a party limit?

tsurugikage

Villager
Member
Joined
May 12, 2017
Messages
21
Reaction score
0
First Language
English
Primarily Uses
RMMV
I am using a script called Recruiting Board
It allows the user to purchase Mercenaries based on class and level.

I want to make it so that no more the the player and 3 other members can be in any given party.
How would I do that?

((If I placed this in the wrong forum, please tell me where to put it))
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
Being a paid plugin, you would have to wait for someone else who has purchased it to come along and help.
 

glaphen

Veteran
Veteran
Joined
Jan 13, 2019
Messages
326
Reaction score
120
First Language
English
Primarily Uses
RMMV
Although I don't have it I would imagine using notetags like
Code:
<Custom Recruit Enable>
enable = $gameParty.size() <= 3;
</Custom Recruit Enable>
would work, if not try others with
Code:
if ($gameParty.size() <= 3) {
do thing
}
If none of the notetags work you would have to add that check to wherever the recruitment happens in the script itself or make the menu close when at 4 party members or something.
 

tsurugikage

Villager
Member
Joined
May 12, 2017
Messages
21
Reaction score
0
First Language
English
Primarily Uses
RMMV
Although I don't have it I would imagine using notetags like
Code:
<Custom Recruit Enable>
enable = $gameParty.size() <= 3;
</Custom Recruit Enable>
would work, if not try others with
Code:
if ($gameParty.size() <= 3) {
do thing
}
If none of the notetags work you would have to add that check to wherever the recruitment happens in the script itself or make the menu close when at 4 party members or something.
The first one works! Thank you for the help!
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,381
Reaction score
8,537
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

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