RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[ACE] Add options to Yanfly option system script (RESOLVED)

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 57
RMRK Junior
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
« Last Edit: September 18, 2014, 10:19:34 AM by Chaos17 »

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
The option is already there. :o

Code: [Select]
    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.


Code: [Select]

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


The format is.

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

**
Rep:
Level 57
RMRK Junior
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:
« Last Edit: September 18, 2014, 10:24:02 AM by Chaos17 »