Thank you for your help.
Is there a plugin that remembers the enemy's battle record?
Thank you.
Is there a plugin that remembers the enemy's battle record?
Thank you.
If it's for a single enemy, you can use variables and Yanfly's Skill Core plugin to record and retrieve that information. If you want it for all enemies, you'll definitely need a plugin for that. Sounds potentially simple in theory, at least without perusing the base code. I use MZ though, so I don't know if anything I could do would work in MV. But how are you wanting to do it? Record total information for the enemy type to use elsewhere in the game? Or limit it to what that specific enemy is doing in that specific battle?
Which one? In an independent record, with both goblins having their own record, when goblin A uses a skill for the first time, the record tracks that goblin A used that skill, but goblin B's record says it didn't use the skill, since goblin A was the one that used it.
Awesome. Will the record be needed after the battle is over? It will be MUCH simpler to make if you only need the record during battle and have it reset every battle. It could get complicated otherwise, and might be beyond my current skill level for quite awhile. I'm still learning how to write plugins and will probably be a bit messy code-wise as a result, especially as what I try to do becomes more complex.
It's a good thing you made that detailed example, because that is the opposite of what you said before. What Drakkonis asked was whether you wanted every instance of an enemy type to have its actions tracked separately - I can't imagine the point of that, and your record screen would become unmanageably huge as you play the game, but it's what you said you wanted.
That's kinda why I keep trying to verify what he's wanting. One for each enemy ID is easy. One for each enemy in each troop, not too bad (got the barebones of that in the works), but has the potential to get a bloated save file VERY quickly if there are a lot of skills or actors. Then it seems like it's per enemy slot... which while harder than the first and easier than the second, makes very little sense no matter which way I look at it, unless it's a very specific set of circumstances in the game where the slot matters more than the enemy in it. I was attempting to lock down what he wanted before I started, so I wouldn't have to undo a bunch of stuff later. At this rate I'd practically need to know every detail about the game to make sure I made what he's actually wanting, especially since if it's enemy ID or slot, I don't need even half the stuff I've set up for the each enemy per troop version.
Original thread: https://forums.rpgmakerweb.com/threads/about-the-plug-in-that-remembers-the-enemys-battle-record.134397/