public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Yanfly's Hide Skills string help

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: Yanfly's Hide Skills string help
  • Original author: alcreator440
  • Original date: July 1, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/yanflys-hide-skills-string-help.41813/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

I'm trying hide a certain guard skill while a shield is not equipped. I command string for weapons like this: !@actor.weapons.any? {|weapon| weapon.wtype_id == 1 } It works wonders but now I need an equivalent for shields and armors. Thanks in advance.

Archived First Post

I'm trying hide a certain guard skill while a shield is not equipped. I command string for weapons like this: <hide eval>

!@actor.weapons.any?

{|weapon| weapon.wtype_id == 1 }

</hide eval>

It works wonders but now I need an equivalent for shields and armors. Thanks in advance.

 

Here's the script: https://github.com/Archeia/YEARepo/blob/master/Menu/Hide_Menu_Skill.rb

 

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
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#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar