Main char first in map no matter formation

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?
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?
No, when you change your formation in the menu, I mean, the way characters are organized in battle, it also changes which character you control in the map, and talks to NPCs, it looks like the center of the story. It shouldn't be like that. So is there a way to set the, let's say, actor 1 to be the only character the player can control?
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.
I do not have a direct solution to your problem, although if you want to remove the formation command as a whole, it technically would fix your problem, however it'd prevent Formation from being possible.

If you are ok with that and would like to remove it altogether:

Just go into the scripts menu and look for "Window_MenuCommands" and just....



Spoiler
[IMG]http://www.ezimba.com/work/150811C/ezimba14826090779700.png[/IMG]


Reminder this is only going to help you if you want to get rid of the Formation command ENTIRELY.

If you still wish to keep the Formation option, then I can't help you there, and I hope you find a superiour solution. I tried, though.

Also, even though I know this is common sense, I still feel like I should say:
I HIGHLY SUGGEST YOU MAKE BACK-UP DATA FIRST IN CASE YOU ACCIDENTALLY DO IT WRONG.




 
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.
I do not have a direct solution to your problem, although if you want to remove the formation command as a whole, it technically would fix your problem, however it'd prevent Formation from being possible.

If you are ok with that and would like to remove it altogether:

Just go into the scripts menu and look for "Window_MenuCommands" and just....

Spoiler
[IMG]http://www.ezimba.com/work/150811C/ezimba14826090779700.png[/IMG]
Spoiler
Reminder this is only going to help you if you want to get rid of the Formation command ENTIRELY.

If you still wish to keep the Formation option, then I can't help you there, and I hope you find a superiour solution. I tried, though.

Also, even though I know this is common sense, I still feel like I should say:

I HIGHLY SUGGEST YOU MAKE BACK-UP DATA FIRST IN CASE YOU ACCIDENTALLY DO IT WRONG.
I thought of that, I'm also using XS Menu so I'll disable it from there.

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.
It looked like it worked but it only changed the follower sprite and I have 2 clones walking together. Thanks for the help but I'll just disable the formation option entirely, it doesn't really change anything in my gameplay.

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.
I didn't know that script could do that, but yeah it's too heavy, I'll try to take the part of the script that does that but I'm not sure I have the knowledge to do so.

Thanks.

You can close this thread, I have 2 solutions now. Thanks.
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".

Original thread: https://forums.rpgmakerweb.com/threads/main-char-first-in-map-no-matter-formation.43504/