- Joined
- Sep 10, 2020
- Messages
- 1
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- RMMV
Hello,
So I've been working on a game using the MV engine and have encountered a small snag I'm having trouble working around.
There is a certain part in the game where a temporary character is added that I want to freely add and remove from the core party as needed. Normally for other sections of the game I've had the formation button disabled and a hub area is instead used where separate events are used for swapping out characters. However as I don't want to go through that area to allow access to the temporary member, I've decided to allow formation access during that section of the game only. The problem I encounter is this then gives the player the ability to swap their position with another party member, potentially causing the situation of a party member being able to see and talk to themself in the hub area which is obviously an issue. I'm looking for some kind of script I can run that locks the first slot in place so players won't have the ability to swap the main character around in the party with other people.
I've done a little digging on this already for this subject but most threads are 4+ years old and in reference to VX/VXA rather than MV, so I'm unsure how accurate the info is for this newer version. I've seen some sample scripts used that apparently achieve what I'm looking for but when I try these out myself it either comes with an error that isn't explained how to fix, or just doesn't run at all. I've also seen the Yanfly plugin mentioned alot in regards to this topic, but I'm not interested in all the other things the plugin comes with at the moment and I want to try and avoid using plugins as much as possible (Mainly a personal reason of wanting to see how well I can make this using in engine stuff.)
If anyone has any kind of script made for MV that can solve this I would massively appreciate seeing it, thanks in advance.
So I've been working on a game using the MV engine and have encountered a small snag I'm having trouble working around.
There is a certain part in the game where a temporary character is added that I want to freely add and remove from the core party as needed. Normally for other sections of the game I've had the formation button disabled and a hub area is instead used where separate events are used for swapping out characters. However as I don't want to go through that area to allow access to the temporary member, I've decided to allow formation access during that section of the game only. The problem I encounter is this then gives the player the ability to swap their position with another party member, potentially causing the situation of a party member being able to see and talk to themself in the hub area which is obviously an issue. I'm looking for some kind of script I can run that locks the first slot in place so players won't have the ability to swap the main character around in the party with other people.
I've done a little digging on this already for this subject but most threads are 4+ years old and in reference to VX/VXA rather than MV, so I'm unsure how accurate the info is for this newer version. I've seen some sample scripts used that apparently achieve what I'm looking for but when I try these out myself it either comes with an error that isn't explained how to fix, or just doesn't run at all. I've also seen the Yanfly plugin mentioned alot in regards to this topic, but I'm not interested in all the other things the plugin comes with at the moment and I want to try and avoid using plugins as much as possible (Mainly a personal reason of wanting to see how well I can make this using in engine stuff.)
If anyone has any kind of script made for MV that can solve this I would massively appreciate seeing it, thanks in advance.

