How to Make a Limited Skillset?

i’m quite new to RPG maker, so i’m sorry if this is a dumb question.

how do you implement a moveset in which you have a hard limit to the amount of skills usable? something similar to pokémon and persona; ie. lets say a character has 10 available slots for spells, and at level 11, they learn a new skill. how can i create a system where i have to forget an old move to learn this new skill??

thanks in advance 🙂
There are much smarter people who might be able to answer this better, but I'd like to give you an option anyways:
Using a plugin such as Yanfly's Limited Skill Uses is probably going to be the quickest and most elegant way of creating the effect. If you are new to RPG Maker, I definitely recommend just using vanilla RPG Maker before diving in plugins. It's not that plugins are complicated, but it's that you should really familiarize yourself with the basic tools first before using more advanced tools.

So, as an alternative, one way that comes to mind is have the skill run a common event and use invisible items (called "Hidden Items" in the editor). The common event will check the inventory for these invisible "skill items", and if the player has any, it will cast the skill. If there are none it can say something like "failed to cast the skill".
If you want to keep it like Pokemon, then you would need a certain place (your game's equivalent of a "Poke Center") to automatically refill your inventory of the invisible items. Alternatively, if it was limited uses per battle, then just make sure to have the inventory refreshed at the end of battle. This can be handled through another common event that simply adds the items back to the inventory.

The one problem with this method is that I don't think there is an effective way to show the remaining number of uses left for the skill. I suppose at the end of the common event when casting the skill it could just show a message box "Player as x number of uses remaining", but that's not the most graceful way of keeping track of your "ammunition". This is where maybe someone smarter and more familiar with eventing might have some clever solutions.
There are much smarter people who might be able to answer this better, but I'd like to give you an option anyways:
Using a plugin such as Yanfly's Limited Skill Uses is probably going to be the quickest and most elegant way of creating the effect. If you are new to RPG Maker, I definitely recommend just using vanilla RPG Maker before diving in plugins. It's not that plugins are complicated, but it's that you should really familiarize yourself with the basic tools first before using more advanced tools.

So, as an alternative, one way that comes to mind is have the skill run a common event and use invisible items (called "Hidden Items" in the editor). The common event will check the inventory for these invisible "skill items", and if the player has any, it will cast the skill. If there are none it can say something like "failed to cast the skill".
If you want to keep it like Pokemon, then you would need a certain place (your game's equivalent of a "Poke Center") to automatically refill your inventory of the invisible items. Alternatively, if it was limited uses per battle, then just make sure to have the inventory refreshed at the end of battle. This can be handled through another common event that simply adds the items back to the inventory.

The one problem with this method is that I don't think there is an effective way to show the remaining number of uses left for the skill. I suppose at the end of the common event when casting the skill it could just show a message box "Player as x number of uses remaining", but that's not the most graceful way of keeping track of your "ammunition". This is where maybe someone smarter and more familiar with eventing might have some clever solutions.
i see. i’ll mess around with the plug in and some common events to achieve the effect i want. thank you so much!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-limited-skillset.149360/