Hello.
I am using RPG Maker MV and using Yanfly's Skill Learn System plugin.
I am trying to make a skill on available to be learned after casting a spell x amount of times.
(For example, Fire II and only be learned if Fire is cast 10 times)
I am new to RPG Maker and do not know how to do much, yet.
I made a common event called "Using Fire"which uses control variables. It adds one to the variable I created, called "Fire Used."
In the skill "Fire," I added an event which I selected common event "Using Fire."
I created an event, that is basically a quest (I did this as a verification that the switch was on).
The guy asks you if you wanna do a quest; saying yes trigger Control Switch 1, called "Fire Accept." He then says cast Fire twice (kept it low for testing).
He then asks if you have, saying yes has a conditional branch checking if the variable "Fire Used" is greater than or equal to 2.
If the check is met, it turns on Control Switch 2, called "Fire Fin."
I have another page which has the condition of switch 2, "Fire Fin" and he just says Good Job.
So If I go through all that, and see that last page then that means that Switch 2 is on as well as Switch 1.
I can make Fire II available to be learned using switch 1 or 2 in this way.
However, I want the spell to be able to learn the skill without doing a quest.
So, I created another event that just has a conditional branch checking if the variable "Fire Used" is greater than or equal to 2 which turns on Switch 3, called "Fiirree."
If I make this autorun or parallel, then I cannot move on that map. If I move it to another map, or chose one of the other 3 triggers, then I cannot learn Fire II after casting 2 Fire skills.
Sorry for the long winded post, but I wanted to describe my efforts so far to show what I have done. Although I may be going in the completely wrong direction..
I guess my question is, how do I make a switch that will count how many times a skill is used without needing player interaction?
I am using RPG Maker MV and using Yanfly's Skill Learn System plugin.
I am trying to make a skill on available to be learned after casting a spell x amount of times.
(For example, Fire II and only be learned if Fire is cast 10 times)
I am new to RPG Maker and do not know how to do much, yet.
I made a common event called "Using Fire"which uses control variables. It adds one to the variable I created, called "Fire Used."
In the skill "Fire," I added an event which I selected common event "Using Fire."
I created an event, that is basically a quest (I did this as a verification that the switch was on).
The guy asks you if you wanna do a quest; saying yes trigger Control Switch 1, called "Fire Accept." He then says cast Fire twice (kept it low for testing).
He then asks if you have, saying yes has a conditional branch checking if the variable "Fire Used" is greater than or equal to 2.
If the check is met, it turns on Control Switch 2, called "Fire Fin."
I have another page which has the condition of switch 2, "Fire Fin" and he just says Good Job.
So If I go through all that, and see that last page then that means that Switch 2 is on as well as Switch 1.
I can make Fire II available to be learned using switch 1 or 2 in this way.
However, I want the spell to be able to learn the skill without doing a quest.
So, I created another event that just has a conditional branch checking if the variable "Fire Used" is greater than or equal to 2 which turns on Switch 3, called "Fiirree."
If I make this autorun or parallel, then I cannot move on that map. If I move it to another map, or chose one of the other 3 triggers, then I cannot learn Fire II after casting 2 Fire skills.
Sorry for the long winded post, but I wanted to describe my efforts so far to show what I have done. Although I may be going in the completely wrong direction..
I guess my question is, how do I make a switch that will count how many times a skill is used without needing player interaction?