Unremovable members?

Status
Not open for further replies.

Dommer4kill

Villager
Member
Joined
Mar 5, 2014
Messages
20
Reaction score
2
First Language
English
Primarily Uses
Is it possible to make a party member not removable from the party? Because it would seem a bit redundant for the hero of the story not leading.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Not without a script, as far as I know.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You could disable formation changes - there's a button for that. But that would stop you swapping the order of ANY of your characters around, not just the main one / leader.


Also, just because they can be swapped, doesn't mean they're "removed" from the party. They're still there - just not the leader. You don't HAVE to have the main character as the leader, and players often like being able to switch out the leader to their favourite character. They're still in the party, and if you have followers turned on and less than 5 party members, you can still see them.


Other than that - if you want to change what you can/can't do with a single character while leaving the rest flexible, the only solution is script mods. You don't HAVE to go to the extent of installing a whole party system just to stop the first character being swapped though - if that's all you're after, say so and we can give you a much smaller, easier to use script.
 
Last edited by a moderator:

Dommer4kill

Villager
Member
Joined
Mar 5, 2014
Messages
20
Reaction score
2
First Language
English
Primarily Uses
You could disable formation changes - there's a button for that. But that would stop you swapping the order of ANY of your characters around, not just the main one / leader.

Also, just because they can be swapped, doesn't mean they're "removed" from the party. They're still there - just not the leader. You don't HAVE to have the main character as the leader, and players often like being able to switch out the leader to their favourite character. They're still in the party, and if you have followers turned on and less than 5 party members, you can still see them.

Other than that - if you want to change what you can/can't do with a single character while leaving the rest flexible, the only solution is script mods. You don't HAVE to go to the extent of installing a whole party system just to stop the first character being swapped though - if that's all you're after, say so and we can give you a much smaller, easier to use script.
I'm fine with order changing. I only need one person unremovable is all.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
I'm fine with order changing. I only need one person unremovable is all.
The player can never remove an actor - to remove an actor, it needs an event with the command to remove that actor from the party, and if you don't make such an event, then the actor will never leave the party.
The only thing that the player can do is in the case of more actors than the active/battle group allows, the formation screen can move the actor between the reserve and the fighting group - but it cannot remove the actor from the party, and reserve party is still party where the engine is concerned.


And if you have only a small group of actors (no reserve), even that is impossible.
 

Dommer4kill

Villager
Member
Joined
Mar 5, 2014
Messages
20
Reaction score
2
First Language
English
Primarily Uses
The player can never remove an actor - to remove an actor, it needs an event with the command to remove that actor from the party, and if you don't make such an event, then the actor will never leave the party.

The only thing that the player can do is in the case of more actors than the active/battle group allows, the formation screen can move the actor between the reserve and the fighting group - but it cannot remove the actor from the party, and reserve party is still party where the engine is concerned.

And if you have only a small group of actors (no reserve), even that is impossible.
I understand that, but by "remove from the party" I meant the party as in the 4 actors that you're currently using. So, is it possible to make one of those actors locked in the 4 actors currently in use so that they can't be swapped out?
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
As was said above, the only way to do this is by script.  The one I linked to is very easy to use, and will lock the actor in the party with one tiny configuration.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You don't really need a whole party system script just to lock one actor in place.


Do you want to make it impossible to swap them at all, or allow them to be swapped, as long as they're still in the first 4? (hint - the first option would be easier to achieve).


What's the actor id of the one you want to keep in the battle party?
 

Dommer4kill

Villager
Member
Joined
Mar 5, 2014
Messages
20
Reaction score
2
First Language
English
Primarily Uses
You don't really need a whole party system script just to lock one actor in place.

Do you want to make it impossible to swap them at all, or allow them to be swapped, as long as they're still in the first 4? (hint - the first option would be easier to achieve).

What's the actor id of the one you want to keep in the battle party?
Well since you say the first one is easier I'll go with that. 

So how do I view an actor's ID? (I feel stupid for asking this)
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
It's their number in the database

[Edit] I tried making a script for just that myself, but the confirm sound just keeps going at the same time as the buzzer... Anyone knws how to "disable" the first party member?

Code:
class Scene_Menu < Scene_MenuBase  def on_formation_ok    if @status_window.index >=1      if @status_window.pending_index >= 1        $game_party.swap_order(@status_window.index,                               @status_window.pending_index)        @status_window.pending_index = -1        @status_window.redraw_item(@status_window.index)      else        @status_window.pending_index = @status_window.index      end    else        Sound.play_buzzer    end    @status_window.activate  endend
 
Last edited by a moderator:
Joined
Jul 3, 2016
Messages
17
Reaction score
0
First Language
English
Primarily Uses
Which parts of the script would i have to copy/paste? And could you give an example? No matter what I do, the game won't start up
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
@HellFire Revenant, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


Make a new topic for your problem, but basically you cannot copy only parts of a script, you always need the entire script unless you know enough of programming to rewrite it.


I suggest you follow the link "how to use a script" in my signature.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

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,072
Members
137,578
Latest member
JamesLightning
Top