Duplicate Actors

Duplicate Actors
Version 1.0
by Fomar0153
​

Description
Allows you to have multiple copies of the database actors.
This could either allow for system like in FF1 where you build your party, or it could be the basis for a monster catching style rpg like Dragon Warrior/Quest Monsters, Jade Cocoon... Pokémon etc.
Please note if you are going the monster rpg route, I recommend you are an experienced user, or wait for more plugins.
This is because you'll need to understand the concept of pointers in order to achieve most things.

Features
You can protect a section of the actor database and refer to them with events and code exactly as you did before.
There are three plugin commands you can use:
Create Actor
Change Party
Change Name

Screenshots


The event code for how I evented that party builder:
Spoiler: Pictures
rUAYfXI.png

Ok so I started with a simple Show Choices, then:
WP23moQ.png

I use the Create Actor plugin command, 15 is Red Mage in the database. I store the new Red Mage's actor id in variable 1.
Then I use the Change Party plugin command to add them to the party. I use the Pointer method, meaning it looks in the variable with the id I submitted in Variable Id. Now because Create Actor put the id into variable 1 and I haven't changed it, this adds the new Red Mage.
Similarly I use the same approach to rename them.

How to Use
Place the plugin in your project's js/plugins/ folder.
Inside RPG Maker MZ's editor, open the Plugin Manager.
Create a new entry and select this plugin from the list.
Customise the options to your liking and then click ok.

Then you can use the plugin commands to make and manage the new Actors.

Download
Click here.

FAQ
Q: Nothing seems to happen when I use your plugin.
A: Make sure the plugin has its original name and that you haven't accidentally renamed it.

Credits
Fomar0153

Terms of Use
As long as I am credited, you may use this plugin in your projects both commercial and non-commercial.
Nice, very useful🙂
Nice plugin, but ran into a problem when using victory aftermath from visustella.
It's probably a case of swapping an actorId() for a _menuId, but I don't have access to the code being as it's a paid plugin. So I can't do anything about it, sorry.
Everything works perfectly when I use plugin commands with an on map event to make a duplicate actor. When I make a common event using the same plugin commands, and call them from inside a battle event, the new actor is created and added to the party, but Change Name is never executed. Suggestions?
I'm getting a wierd error, when I start a new game with this plugin on my starting character is absent from the party, yet I can still move (invisible), is there a way to fix this?
Edit: I didn't set up the starting actor id haha, gonna leave this here in case anyone here runs into the same trouble.
Edit2: I'm getting an "Cannot read property 'name' of undefined" error now, any ideas? I think the problem is I was trying to reference a variable inside the puglin window command, so I guess I should make my own script with the plugin's command?
is there MV version?

Original thread: https://forums.rpgmakerweb.com/threads/duplicate-actors.126291/