Help with Yanfly Class System

Voivod878

Warper
Member
Joined
Jun 3, 2015
Messages
1
Reaction score
0
First Language
Italian
Primarily Uses
Hi. I'm pretty noob of rpgmaker, and meganoob of scripting.
I'd be vry happy if you could help me to edit a little thing in the Yanfly Class sistem mechanics (Version 1.10).

I set this :

SWITCH_ENABLE_CLASS    = 1

to making the choice disabled at the starting of the game.

But i've reached a certain point into the game when the option of see the class menu should be enabled.

How can i do that?

I've read to bind it to a switch, and I try to do it, but without any result as you may suppose



Thanks again
 

NaosoX

Veteran
Veteran
Joined
Feb 28, 2013
Messages
48
Reaction score
47
First Language
English
Primarily Uses
N/A
The requirement to "enable class" is that it be located in the main menu. You also need to set SHOW CLASS to a switch(might as well use the same switch number).

If you are using YANFLY MENU ENGINE, look around line 101; there you should see COMMANDS. One of the commands is :class.

If you change the location of the class menu, such as placing it in the stats menu, it will not work(by default).

If this advice still doesn't work for you, try changing your switch number; check if any scripts might be interfering such as one with built in switch to same as yours.

Hope this helps!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
I set this :


SWITCH_ENABLE_CLASS    = 1


I've read to bind it to a switch, and I try to do it, but without any result as you may suppose
How did you bind it to a switch and how did you use it?


It should go like you did above with CLASS and the first switch, controlling switch #1 should enable and disable the class.


Please post a link to the script and screenshots of how you use the switch you set.
 

NaosoX

Veteran
Veteran
Joined
Feb 28, 2013
Messages
48
Reaction score
47
First Language
English
Primarily Uses
N/A
He said he is using YANFLY CLASS SYSTEM. The ability to bind a switch is part of the script config. If he 'ENABLES CLASS' he must also 'SHOW CLASS' which is a switch config just below ENABLE. The way the script is setup, it must appear in the main menu, so class scene must be set or made available there.

After that, it's only a matter of changing set switch or switches to on for the class menu to activate.

More on YANFLY CLASS ENGINE: there is also the ability to enable primary and/or secondary. Again, in order to actually see these options in the menu, corresponding SHOW switch options must be set and turned on!

Link to the script: https://yanflychannel.wordpress.com/rmvxa/core-scripts/class-system/

Lines where switch config are located:

#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

# - Switch Settings -

#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

# These are the switches that govern whether or not certain menu items will

# appear and/or will be enabled. By binding them to a Switch, you can just

# set the Switch ON/OFF to show/hide or enable/disable a menu command. If

# you do not wish to use this feature, set these commands to 0.

#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

SWITCH_SHOW_CLASS = 0 # Switch that shows Class in Main Menu.

SWITCH_ENABLE_CLASS = 0 # Switch that enables Class in Main Menu.

SWITCH_SHOW_PRIMARY = 0 # Switch that shows Subclass in Class Menu.

SWITCH_ENABLE_PRIMARY = 0 # Switch that enables Subclass in Class Menu.

SWITCH_SHOW_SUBCLASS = 0 # Switch that shows Subclass in Class Menu.

SWITCH_ENABLE_SUBCLASS = 0 # Switch that enables Subclass in Class Menu.

end # CLASS_SYSTEM

end # YEA

HOPE THIS HELPS!!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


If you need help with a script, ALWAYS post a link to it.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top