Jump to content
Sign in to follow this  

Switch Condition

Recommended Posts

Feature: Switch Condition



This script adds a "switch condition" feature to database objects.

It allows you to require a switch to be ON (or OFF) to:


-equip a weapon/armor

-use a skill




Script: Download here

Required: Feature Manager




Tag database objects with



<ft: switch_cond ID value>
Where ID is the switch ID and value is either


0 for OFF

1 for ON


A single object can have multiple switch conditions, as separate features.

If any switch conditions are not satisfied, then you can't use it.

Edited by Tsukihime

Share this post

Link to post
Share on other sites

Hi Tsukihime Sorry to bother you with his,

 i already installed the   Feature Manager

 but i always get this error..  in Feature Switch Condition


Script  feature switch condition' line 56:  Name error occurred.

  undefined method 'equip_weapon_ok?' for class 'Game_BattlerBase'


and also Following same errors with this scripts..


Level Requirements 

Gender Requirement
Actor Requirement
Class Requirement


what could be the problem??

Edited by Zeus Zaucth

Share this post

Link to post
Share on other sites

Thank you very much Tsukihime,

I'm currently Creating a game 2% stage (developing mechanics)

All of your Scripts is really a Great Help..


I Still have a lot to Learn about Programming  languages,  Especially Ruby

And I want to be a Elite Coder just like you, Much Respect..

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

Top ArrowTop Arrow Highlighted