MV Plugins that can change the character you play as in game?

So I have been coming up with some ideas and i thought of making a game where you could play as separate protagonists with their own point of view in the entire storyline of the game, anyone know of any plugins like this or similar to it?
why a plugin?
that is perfectly possible with eventing to change the party.

the only thing difficult with eventing would be the inventory management, but you can use tsukihime's party manager instead to create multiple parties.
(tsukihimes party manager is completely different from yanfly's)
why a plugin?
that is perfectly possible with eventing to change the party.

the only thing difficult with eventing would be the inventory management, but you can use tsukihime's party manager instead to create multiple parties.
(tsukihimes party manager is completely different from yanfly's)
Oh really? I never knew that, but I can see the parties inventory being pretty weird, but I hope it applies to battle as well.

but ima check out tsukihime's party management, thanks!
Oh really? I never knew that, but I can see the parties inventory being pretty weird, but I hope it applies to battle as well.

but ima check out tsukihime's party management, thanks! also ima check out your game when i get the chance to

@Kazzy305, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.

As mentioned, this sort of thing can be acheived without plugins. Script calls can help to store/recall inventory when necessary, e.g.
Spoiler: Click to see example script calls
// Store the party inventory data in variable ID 1 $gameVariables.setValue(1, { Armors: Object.assign({}, $gameParty._armors), Items: Object.assign({}, $gameParty._items), Weapons: Object.assign({}, $gameParty._weapons) });
// Restore party inventory from variable ID 1 var data = $gameVariables.value(1); for (var k in data) { var items = window["$data" + k]; for (var n in data[k]) { $gameParty.gainItem(items[n], data[k][n]); } }
These are the examples for Memorise Inventory & Restore Inventory from the MV/MZ script call list.
A plugin might help make things easier, though, and it's what you requested, so

I've moved this thread to JS Plugin Requests. Thank you.

(You originally posted this in Resource Requests, but scripts are seen as a separate kind of "resource" here.)

👋
Oh, sorry about that haha, but i'll keep that in mind and thanks
Hi This script seems to erase the "Key Items" item as well.
What should I do if I want to omit only the "Key Items" items?
Hi This script seems to erase the "Key Items" item as well.
What should I do if I want to omit only the "Key Items" items?
(Neither of the snippets I posted here earlier actually remove items from the inventory: they just remember/restore items.)

Right after memorising the inventory, you could selectively forget/"unmemorise" Key Items so that they don't get added again when you restore the inventory. You could avoid removing Key Items from the inventory in a similar way.
Spoiler: click to see example script calls (untested)
Memorise inventory without Key Items:

// Get the party inventory data var data = { Armors: Object.assign({}, $gameParty._armors), Items: Object.assign({}, $gameParty._items), Weapons: Object.assign({}, $gameParty._weapons) }; // Forget about Key Items for (var k in data.Items) { // loop through IDs of Items in inventory if ($dataItems[k].itypeId === 2) { // check if this is a Key Item delete data.Items[k]; // if so, don't remember it } } // Store in game variable 1 $gameVariables.setValue(1, data);
Remove all Armors, Weapons, and non-Key Items from the inventory:

// Remove all Armors and Weapons from inventory $gameParty.equipItems().forEach(function(equip) { $gameParty.loseItem(equip, 99); }); // Remove all Regular and Hidden Items from inventory $gameParty.items().forEach(function(item) { if (item.itypeId !== 2) { $gameParty.loseItem(item, 99); } });
Thanks!

I was able to delete and restore all but the key items!
I have one more question.
How can I memorize 500G, delete it and restore it again?Will it be stored in another variable?
How can I memorize 500G, delete it and restore it again?Will it be stored in another variable?
You can do that easily with event commands, e.g.
  • Remember gold (Control Variables -> Game Data -> Other -> Gold):

    ◆Control Variables:#0003 = Gold
  • Remove all gold:

    ◆Change Gold:- 9999999
  • Add gold from variable:

    ◆Change Gold:+ {#0003}
Yes, this will be a separate variable because otherwise you'll erase the item data.
Oops ...
I relied solely on script commands and forgot that I could use them in event commands!
Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/plugins-that-can-change-the-character-you-play-as-in-game.146572/