public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Hiding Skills - Yanfly plugin

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Hiding Skills - Yanfly plugin
  • Original author: Sarah_yt
  • Original date: April 15, 2017
  • Source thread: https://forums.rpgmakerweb.com/threads/hiding-skills-yanfly-plugin.77358/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

Hi guys, I'm trying to set up a skill tree system where you start with a base skill, with several chances to upgrade as the game progresses. Each time you upgrade, you get two choices on how to upgrade it but choosing one will block off the other path. E.g. Skill 20 = base

Archived First Post

Hi guys,

I'm trying to set up a skill tree system where you start with a base skill, with several chances to upgrade as the game progresses. Each time you upgrade, you get two choices on how to upgrade it but choosing one will block off the other path.

E.g.
Skill 20 = base
Skill 21 = 1st upgrade available choice(a)
Skill 22 = 1st upgrade available choice(b)
...

Learning skill 20 will cause that to disappear from the list, making skills 21 and 22 appear as choices (already got that bit down pat). But when I go to choose either 21 or 22, the other doesn't disappear.

I'm using Yanfly's Skill Learn plug in and have read similar posts, but I can't figure it out. Here's the code I've been using:
<Learn Show Eval>
if(!this._actor.isLearnedSkill(20) || this._actor.isLearnedSkill(21) || this._actor.isLearnedSkill(22) { value = false; }
else value = true;
</Learn Show Eval>

And here's the error that pops up.
Protected download

EDIT: Whoops, forgot to ask - I think it could be fixed by including a check in Skill 21 to see if the actor has not learned skill 22 (and visa versa) but I don't know how to get the program to run that check.

Many thanks for your help!

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

SkillLearnerror.PNG
SkillLearnerror.PNG
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar