RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[ACE] Add options to Yanfly option system script (RESOLVED)

Started by Chaos17, September 18, 2014, 04:34:29 AM

0 Members and 1 Guest are viewing this topic.

Chaos17

Hello,

Can someone create/add 2 new option in Yanfly system script, please ?



I would like the following options :
- Show tutorials ON or OFF
- Show shortcuts ON or OFF

I would like to use these new options with switches only.

Here the script : DROPBOX

&&&&&&&&&&&&&

The option is already there. :o

    CUSTOM_SWITCHES ={
    # -------------------------------------------------------------------------
    # :switch    => [Switch, Name, Off Text, On Text,
    #                Help Window Description
    #              ], # Do not remove this.
    # -------------------------------------------------------------------------
      :switch_1  => [ 1, "Custom Switch 1", "OFF", "ON",
                    "Help description used for custom switch 1."
                    ],
    # -------------------------------------------------------------------------
      :switch_2  => [ 2, "Custom Switch 2", "OFF", "ON",
                    "Help description used for custom switch 2."
                    ],


You just do something like this.



      :switch_1  => [ 22, "Show Tutorial", "OFF", "ON",
                    "Toggles the tutorial on or off.."
                    ],



The format is.

    # -------------------------------------------------------------------------
    # :switch    => [Switch, Name, Off Text, On Text,
    #                Help Window Description
    #              ], # Do not remove this.
    # -------------------------------------------------------------------------
&&&&&&&&&&&&&&&&

Chaos17

#2
Thank you kind sir, I totally missed that, silly me.
So I'm glad that you gave me an example so I coud do it myself.
I'm off trying it now.

:sdog: