Original Source
- Original title: RPGMaker MV Change Party Member Order via Event
- Original author: ACECORP
- Original date: June 18, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/rpgmaker-mv-change-party-member-order-via-event.63787/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support
Summary
How can I programmatically change the order of my party members from an event, when I pick up a new party member. My party has 3 members, and instead of my new party member taking the 4th slot, I want to programatically swap him out with the second party member so that the second party member takes the 4th slot, and the new party member takes the 2nd slot. I believe this can be done in VX using the following command: $game_party.swap(1, $game_actors[3].index)
Archived First Post
My party has 3 members, and instead of my new party member taking the 4th slot, I want to programatically swap him out with the second party member so that the second party member takes the 4th slot, and the new party member takes the 2nd slot.
I believe this can be done in VX using the following command:
$game_party.swap(1, $game_actors[3].index)
However, when I try and execute this script in RPGMaker MV to swap the position of party members, I get the error shown in the screen shot below.
If there is a different way to programmatically swap party member positions, that's fine too, I just need to know what the command or process is to do it programatically.
Protected download
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...
