Hello everyone,
I was wondering if somebody could help me out with a problem. I am using Yanfly's Skill Learn Plugin and I would like a Switch to be activated upon learning a Skill.
After looking through the plugins help file I believe that I found the function that is need to achieve this:
<Learn Cost Eval>
code
code
</Learn Cost Eval>
For those who know JavaScript, you can have custom actions be performed
after learning the skill through the learn skill menu.
Unfortunately my Java Script knowledge is still very limited so somebody could give me a tip as how to write that code it would be very much appreciated.
Thanks in advance to everyone who is thanking time to reply to this!
Yanfly's Skill learn system-Activating a switch on learning a skill
● ARCHIVED · READ-ONLY
-
-
Done a bit more research and figured it out!! yeah
If anybody is interested function goes like this:
<Learn Cost Eval>
$gameSwitches.setValue(x, true); (x) being the number for the switch
</Learn Cost Eval>