Hi.
I'm having this problem that if you change the formation of your group, the leader of the party on the map is the first in the formation. Is there a way to change that and make the main character the leader no matter what?
Thanks
I'm not sure what you're asking; changing via "Switch Party Member" event or some other method? You're saying you have the lead in a different place on the menu and in battle and then when you switch party members they take the lead instead?
You may need a script for this but I've been looking and haven't found one that does this; this topic may be best moved to Script Requests unless someone has a solution here.
Okay. Thank you for your help. 🙂
I've submitted a report with a request to move the topic to the Script Request section; hopefully they will be able to assist you.
Moving to RGSS3 Script Requests
This is not what the OP is requesting. They WANT to be able to change the formation (and if you don't, you can disable it with an event command - don't need to script it), but not for the leader to show on the map.
I haven't tested this, but try the following in a new slot:
class Game_Player < Game_Character def refresh @character_name = $game_actors[1].character_name @character_index = $game_actors[1].character_index @followers.refresh endendThis would make Actor 1's sprite always show on the map. If Actor 1 is not your main character, replace the 1 on both lines with the id of the main character.
Naturally, you'd want followers disabled if you're doing this, otherwise you could have the same person showing up twice in the lineup.
Alternatively, Yanfly's Party Script also offers the option of locking actors into slots - but that is a heavy script that adds a lot more functionality and replaces the default formation options.
lol - if it doesn't work, then it's not a solution.
Is actor 1 your "main character"? I already said if it's not, to replace the 1 in each line with the id of the main character. And that you'd have to turn followers off. That code would NOT make ANY changes to follower sprites at all.
Ok I solved it, just added Theo's script called "Lock Party Leader".