Original Source
- Original title: Adding a new line to System Options (Yanfly)
- Original author: Kes
- Original date: January 12, 2014
- Source thread: https://forums.rpgmakerweb.com/threads/adding-a-new-line-to-system-options-yanfly.22258/
- Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support
Summary
Yanfly's System Options Menu allows you to add more items. (Script can be seen here: http://dl.dropboxusercontent.com/u/49701990/YEA/System_Options.rb). I want to give the player the option to enable/disable the mouse. I have set it up so that when switch 200 is ON it makes a script call to enable the mouse and when it is OFF it makes another script call to disable it. I have ensured that this data is carried over when loading a save file and so on. It seems to work absolutely fine when activated by an event. So...
Archived First Post
I have set it up so that when switch 200 is ON it makes a script call to enable the mouse and when it is OFF it makes another script call to disable it. I have ensured that this data is carried over when loading a save file and so on. It seems to work absolutely fine when activated by an event. So the basic structure seems okay.
I have added the new line to the System Option Menu and it appears as I had expected it to, with the OFF/ON choice present. In my innocence I thought that inserting the switch number involved into the script would mean that choosing OFF or ON there would do it. Not so. Choosing OFF or ON has zero effect. Obviously I have not configured the script correctly, but I cannot see what I'm doing wrong.
Here is a screenshot of the relevant section showing what I have done. Can anyone advise what I should have done? Line 117 is where I have removed the comment and lines 139-141 is where I have input the new line into the menu.
Thanks.
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...