Removing inactive party menbers.

ookami_lord

Best Lemon in the world
Veteran
Joined
Dec 5, 2013
Messages
88
Reaction score
15
First Language
portuguese
Primarily Uses
N/A
Hello.

I am currently doing a game and I'm using Yanfly's party system.

I removed the party section from the menu and I want the player to change party menbers at a crystal(Cliche...)

But Whenever I Swap party menbers, they're still there, but not in the active party, like the default script.I'm not using Yanfly's menu script tough.

So, I can't really understand much of scripting...And I wanted the unactive party menbers to be removed and when they entered the party, they would appear(duh~). :)

I would apreciate some help if you can, thanks ayway... ;)
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
At the point where you want them to leave, for example, on the crystal, when the player chooses which party member to remove, use the 'Change party Member', Remove, on the first tab of the event command menu.  When you want them to reappear (if you do) use the same 'Change Party Member', but now check 'Add'.

This removes/adds them completely, and if you have removed them they do not show up on any menu.  It's the old "X leaves the party" routine.
 

ookami_lord

Best Lemon in the world
Veteran
Joined
Dec 5, 2013
Messages
88
Reaction score
15
First Language
portuguese
Primarily Uses
N/A
They do?!

I'll try it out! :p

Thanks for the help!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
Inactive party members show up in yanfly's menu because they are still party members, even if they don't participate in battle.


To remove them completely, you have to remove them from the party like ksjp17 explained.
 

Nugem

The Hobbit
Veteran
Joined
Jun 28, 2013
Messages
93
Reaction score
0
First Language
PT-BR
Primarily Uses
I have exactly what you need!

Use this script:

Code:
class Game_Party < Game_Unit  attr_accessor :in_army  #--------------------------------------------------------------------------  # * Object Initialization  #--------------------------------------------------------------------------  alias game_party_initialize_rrns initialize  def initialize    game_party_initialize_rrns    @in_army = false  end  #--------------------------------------------------------------------------  # * Get Members  #--------------------------------------------------------------------------  def members    in_army ? all_members : battle_members  endendclass Scene_Army < Scene_MenuBase  #--------------------------------------------------------------------------  # * Start  #--------------------------------------------------------------------------  alias scene_army_start_rrns start  def start    $game_party.in_army = true    scene_army_start_rrns  end  #--------------------------------------------------------------------------  # * Terminate  #--------------------------------------------------------------------------  alias scene_army_return_scene_rrns return_scene  def return_scene    $game_party.in_army = false    scene_army_return_scene_rrns  endend
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
@Nugem

Looks interesting, but I'm having difficulty seeing the advantage of this over simply using the standard event command.  What does it do other than replicate that function?
 

Nugem

The Hobbit
Veteran
Joined
Jun 28, 2013
Messages
93
Reaction score
0
First Language
PT-BR
Primarily Uses
@Nugem

Looks interesting, but I'm having difficulty seeing the advantage of this over simply using the standard event command.  What does it do other than replicate that function?
By default, all members are displayed in Main Menu bellow active battle members. This script hides these reserve party members. Only battle members will show up, just like Final Fantasy games. To access the other members, you will have to select them in a Party Change scene.

I use it with Yanfly Party System and works perfectly.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Yes, I can see that if you want that particular aesthetic, then it's fine.  My concern would be that it also prevents 3 significant advantages of Yanfly's system - i.e. the ability to check/change equipment without having to put characters in and out of the active party, the ability to see how new gear in a weapon/armor shop affects all party members' stats and the ability to use non-battle skills of reserve party members.  For me those advantages weigh heavily.
 

Nugem

The Hobbit
Veteran
Joined
Jun 28, 2013
Messages
93
Reaction score
0
First Language
PT-BR
Primarily Uses
Yes, I can see that if you want that particular aesthetic, then it's fine.  My concern would be that it also prevents 3 significant advantages of Yanfly's system - i.e. the ability to check/change equipment without having to put characters in and out of the active party, the ability to see how new gear in a weapon/armor shop affects all party members' stats and the ability to use non-battle skills of reserve party members.  For me those advantages weigh heavily.
That's a convenience you will have to drop if you dont want the characters to be swapped at any time, if you are using default Formation on the Menu with Swap Fix script.
 
Last edited by a moderator:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Ah, I see.  However, I think we are in danger of derailing the thread, so maybe it's best to stop here.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top