Jump to content


Photo

Switch Condition

feature

  • Please log in to reply
3 replies to this topic

#1 Tsukihime

Tsukihime

    Advanced Member

  • Member
  • 7120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 14 October 2012 - 11:04 AM

Feature: Switch Condition
-Tsukihime

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

Download

Script: Download here
Required: Feature Manager

Usage

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, 30 March 2016 - 10:17 AM.

All of my work can be found on my website:

banner200x40.png

You can follow me on any of these platforms:

logo_facebook40x40.pnglogo_twitter40x40.pnglogo_youtube40x40.pnglogo_patreon40x40.pnglogo_instagram40x40.png

Go here for Bugs and Requests.
 
Want to become a beta tester for my plugins before they are released to the public?

#2 Zeus Zaucth

Zeus Zaucth

    Newbie

  • Member
  • 2 posts
  • LocationBeyond this Universe
  • RM Skill - Jack of All Trades

Posted 14 February 2014 - 11:21 AM

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, 14 February 2014 - 11:28 AM.


#3 Tsukihime

Tsukihime

    Advanced Member

  • Member
  • 7120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 14 February 2014 - 11:39 AM

It looks like I changed a name but didn't think about what happens to all the plugins.
I've updated all of them to reflect the new name.
All of my work can be found on my website:

banner200x40.png

You can follow me on any of these platforms:

logo_facebook40x40.pnglogo_twitter40x40.pnglogo_youtube40x40.pnglogo_patreon40x40.pnglogo_instagram40x40.png

Go here for Bugs and Requests.
 
Want to become a beta tester for my plugins before they are released to the public?

#4 Zeus Zaucth

Zeus Zaucth

    Newbie

  • Member
  • 2 posts
  • LocationBeyond this Universe
  • RM Skill - Jack of All Trades

Posted 14 February 2014 - 12:07 PM

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..







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users