How to setup: Killing monster/enemy unlocks a specific skill?

Hello,

I've seen it being talked about, but couldn't find an official way that's shown how to do it. Basically, how would I (step by step instruction would be nice) set this up where the Player can see the Actor's skills, but it's greyed out/cannot be used until a condition is met via Actors 1, 2, 3, and 4 encountering lets say Monster 1. By defeating Monster 1, it automatically unlocks a skill for Actor 3 to use only. And while the monster can be defeated again for XP, the same skill can't be acquired again because the actor already has it.

This then repeats, so Actors 1, 2, 3, and 4, encounters Monster 21. They defeat Monster 21 for the first time and it unlocks a skill for Actor 1 only, etc.
having a greyed out skill basically requires that the skill is already learned but has a condition that is not fulfilled at the moment.

by default, the only conditions are the costs (MP/TP) and the equipped weapon, so this will always require a plugin to create other conditions.

and your description of how to unlock that condition basically means that it has to be a switch condition, and that you have to setup troop events to turn the correct switches in the battles with that enemy.
the Player can see the Actor's skills, but it's greyed out/cannot be used until a condition is met
Get VisuStella's Skills and States Core, and use the <Disable Switch: x> tag.
By defeating Monster 1, it automatically unlocks a skill for Actor 3 to use only.
Make defeating Monster 1 turn on switch whatever that Actor 3's skill is relying on.

The default way to do this is:
1) Turn 0 troop event gives all instances of that enemy an immortal state
2) Each of those enemies in the troop has a troop event that checks for it to be at 0 HP, then flips the appropriate switch and removes the state to let it die.
^ No need to use a plugin for that. Just run an event at the start of battle that inflicts an invisible state with Skill Seal on the character (and preferably at the end of each turn, in case the character dies and is revived). This event should be set to stop inflicting the state if the Switch is activated for killing the specific enemy.
Unless you want to rely on plugins for every little thing, it should be a habit for developers to always run a start of battle event and an end of turn event on every troop.
Get VisuStella's Skills and States Core, and use the <Disable Switch: x> tag.

Make defeating Monster 1 turn on switch whatever that Actor 3's skill is relying on.

The default way to do this is:
1) Turn 0 troop event gives all instances of that enemy an immortal state
2) Each of those enemies in the troop has a troop event that checks for it to be at 0 HP, then flips the appropriate switch and removes the state to let it die.

Okay so for #1, where exactly am I going for this? So like, if I go to my troops, and I click on Conditions, I see Turn there, but I'm not exactly sure what you mean by immortal state unless it's in a different place all together.

For number #2 what Switches am I messing with? Am I doing Control Switch, Control Self Switch? or the Condition Switches on the side?

^ No need to use a plugin for that. Just run an event at the start of battle that inflicts an invisible state with Skill Seal on the character (and preferably at the end of each turn, in case the character dies and is revived). This event should be set to stop inflicting the state if the Switch is activated for killing the specific enemy.
Unless you want to rely on plugins for every little thing, it should be a habit for developers to always run a start of battle event and an end of turn event on every troop.

What exactly do you mean by invisible state with Skill Seal?
Have you done a bunch of tutorials before trying to create these more complex systems for your actual game project? I ask because if you're familiar with RPG Maker generally and you've made and played some sample games, a lot of these words should mean things to you.
Okay so for #1, where exactly am I going for this? So like, if I go to my troops, and I click on Conditions, I see Turn there, but I'm not exactly sure what you mean by immortal state unless it's in a different place all together.
I mean a state that makes them immortal. In fact, in MZ's default settings, there's literally a state titled Immortal. So you use the Change State command to put that on each of the enemies you could learn a skill from.
For number #2 what Switches am I messing with? Am I doing Control Switch, Control Self Switch? or the Condition Switches on the side?
Troop events do not have any such things as self switches. Nor do they have conditions on the side. Are you in the right place?
What exactly do you mean by invisible state with Skill Seal?
If you don't assign a state an icon, then it won't be visible in the battle screen. And Skill Seal is one of the Traits under the Skill tab.

Again, it really sounds like you just need to familiarize yourself with RPG Maker. Do all the tutorials, make sample games based on those tutorials before trying to figure out how to do specific things for your game.

Unless you want to rely on plugins for every little thing, it should be a habit for developers to always run a start of battle event and an end of turn event on every troop.
That's...an opinion. I don't think it's a correct one. I do have a common start of battle event, but I certainly don't have a customized one for each troop. And I have had cause to use...I think one troop has an end of turn event out of about 3 dozen troops so far.

What works for you organizationally and is necessary for your gameplay is not necessarily required by everyone.
Have you done a bunch of tutorials before trying to create these more complex systems for your actual game project? I ask because if you're familiar with RPG Maker generally and you've made and played some sample games, a lot of these words should mean things to you.

I mean a state that makes them immortal. In fact, in MZ's default settings, there's literally a state titled Immortal. So you use the Change State command to put that on each of the enemies you could learn a skill from.

Troop events do not have any such things as self switches. Nor do they have conditions on the side. Are you in the right place?

If you don't assign a state an icon, then it won't be visible in the battle screen. And Skill Seal is one of the Traits under the Skill tab.

So this is what I've done. Did I do the Change State correct, let's start with that lol?

Screen Shot 2022-07-12 at 1.07.01 PM.png



I mean ATT_Turan...that's automatic given XD, lets be honest lol. Which is why I mentioned step by step would be preferred when it comes to something technically new as I'm just the type who if you tell me just a name of something such as "Oh click Conditional Branch and allow shadow binding" my brain just doesn't compute like that right off and it automatically pushes out "But where...where am I'm going for that?".

Ironically, I have looked at some tutorial videos and built some basic things from them, but my focus shifted afterwards and that was months ago, thus still learning and relearning everything again. My thing is although it might be an advance thing I'm testing out, sooner or later I will have to do it and I need to know now if it's possible and how to go about doing it before diving into the rabbit hole.
So this is what I've done. Did I do the Change State correct, let's start with that lol?
No, you're not even in the right screen. You're in an Enemy and you added things under Action Patterns, and the thing you added is not called Change State.

You were told you needed to do it in the Troop, inside a Troop Event with the condition Turn 0, and you'd use the Change State event command.
Which is why I mentioned step by step would be preferred
My original response is considered to be pretty step by step. Everything I told you to do is within Troop Events.

When you're getting into apparently wanting/needing such specific details as which button to click on which screen...sorry. Maybe someone else can spare the time to make you that kind of tutorial. Good luck!
No, you're not even in the right screen. You're in an Enemy and you added things under Action Patterns, and the thing you added is not called Change State.

You were told you needed to do it in the Troop, inside a Troop Event with the condition Turn 0, and you'd use the Change State event command.
Gotcha. Thank you for everything you've shown me thus far.
That's...an opinion. I don't think it's a correct one. I do have a common start of battle event, but I certainly don't have a customized one for each troop. And I have had cause to use...I think one troop has an end of turn event out of about 3 dozen troops so far.

What works for you organizationally and is necessary for your gameplay is not necessarily required by everyone.

I don't mean unique events. Just to have the same Common Event run at the start of every battle and another one at the end of each turn. It barely takes any extra work if you make it a habit as you can just copy paste the same 2 event pages that refer to the Common Events in every troop, and you can skip a lot of plugins by doing stuff with eventing.
I see people recommending using plugins for basic stuff because they don't make this a habit and they might have to go through like 100 different troops midway through development because they never bothered setting up a simple start of turn and end of turn common event in them. Even if you end up never making use of those 2 Common Events, it wouldn't have taken you more than a couple of minutes total to set it all up, and you can always come back to them to fill it up with a function you might think of later on in development.

Gonna have to work on my tutorials for these at some point. It might help out the few people who don't want to be overly reliant on plugins and might not have the knowledge on how to event stuff themselves yet...
I don't mean unique events. Just to have the same Common Event run at the start of every battle and another one at the end of each turn.
Ah, that's more reasonable. I still don't think it's entirely fair to say every developer should be doing that - again, I know I have no use for a common end of turn event, and I only have one at the start because I like to have more than one battle music.

I also don't think there's a particular reason to avoid plugins, unless of course they cost money and you'd be using it for just one application in your game. The whole point of them is to make it easier to implement what you want in RPG Maker while decreasing what you have to learn in terms of coding, either in the event language or JavaScript.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-setup-killing-monster-enemy-unlocks-a-specific-skill.149403/