RPG Maker Forums

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

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,479
Members
137,824
Latest member
dobratemporal
Top