- 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.
Is there any simple way to do it?Can be done using e.g. Yanfly's Party System script, found here: https://github.com/Archeia/YEARepo/blob/master/Menu/Party_System.rb
I'm fine with order changing. I only need one person unremovable is all.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.
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.I'm fine with order changing. I only need one person unremovable is all.
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?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.
Well since you say the first one is easier I'll go with that.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?
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