Creating and or deleting the instance of an actor from the Database?

Looking to make a simple plugin for this as I have yet to find a proper one for it yet.  I assume I have to reference $dataActors in one of the .josn files, but I"m not sure how to go about it.  Can anyone  give me an idea how to?  
It is just $dataActors[id] but I would have to question why you would want to do such a thing. The way $dataActors is stored and loaded, and links to $gameActors means you could be messing up other things in the current game, other saved games, a new game, or the current game if you save it, close completely, then relaunch and reload.


I really can't think of any valid reasons why you would want to do that.
It is just $dataActors[id] but I would have to question why you would want to do such a thing. The way $dataActors is stored and loaded, and links to $gameActors means you could be messing up other things in the current game, other saved games, a new game, or the current game if you save it, close completely, then relaunch and reload.

I really can't think of any valid reasons why you would want to do that.
Sorry w I should have been more clear.

I want make a plugin myself for a monster farming game. (Pokemon, monster rancher, etc.)

I want to figure out how to look for a monster's data in the actor database, and produce an initialized clone of that monster in order to have multiple instances of that actor monster in the party.

Is making something like that too much for mv?
No. But it's a little different to the way MV is set up. It has a link between $gameActors[1] and $dataActors[1]. What you're talking about is being able to create several actors all linking back to the same $dataActor object.


I have not played those games. Do you need them "in the party"? Game_Troop has an implementation where a number of enemies are created from the same $dataEnemies object. You could take a look at how that script sets them up and see if you can learn anything from it. If you decide to go with actors, you can probably do something similar, just being aware that the link between the $gameActors and $dataActors objects won't be based on them having the same id.

Original thread: https://forums.rpgmakerweb.com/threads/creating-and-or-deleting-the-instance-of-an-actor-from-the-database.52772/