Hello dears,
Could someone help me and teach me for how can i catch enemies to my party? like pokemon game for gameboy?
I just want to catch the enemy inside the battle with using an item like pokeball.
And after this this enemie who was captured goes to my party as an actor.
Thank you so much!
I would start with a capture skill/item that'll inflict a "captured" status, followed by a common event.
Using the Status Effect as a condition, the common event would add the actor and remove the enemy from battle.
Sounds simple but the common event will need to do a number of other things depending on how you setup and manage your actors.
Personally I would just fill the actor database with 10 or 15 blank actors. I would not recommend creating 100-999 actors for "storage". Because when the player starts a new game, it'll attempt to initialize all those actors. Even though the player isn't using them the game has to remember all these actors. Their names. Stats. Faces. Even if it's all blank. All that goes into a save file. So the save/load screen is going to be really slow too.
So using Rpg Maker's default systems, I would recommend creating Monster Classes.
Your capture skill/item common event will need to go through a process of picking an unused Actor then change it's class, name, portrait, and whatever else to match the enemy captured.
It might have to ask the player to pick an Actor to overwrite.
This all depends on how many monsters the player is allowed to keep, and if you're giving them the freedom to choose, you know, 4 pikachus out of everything else the game might offer.
Being practical, I don't think many people (developers) actually need that level of versatility. You might decide the player doesn't need more than 1 goblin. You might not be making a pokemon clone, but just an RPG with only 10 monsters to catch. In which case, you can just make actors to match the enemies and not worry about a common event changing the data.