Status
Not open for further replies.

KingKraken

Veteran
Veteran
Joined
Apr 2, 2015
Messages
154
Reaction score
57
First Language
English
Primarily Uses
RMMV
I've looked all around and can't seem to find the right information I'm looking for. Basically, I created a custom "Exit" command using Yanfly's Main Menu Manager. However I only want this option to appear on certain maps. The issue I'm running into, is I have no idea how to hide/show it, using events or script calls.

I've seen a few posts saying you can use Yanflys plugin and attach custom menu commands to switches, but no actually explanation on how to do that! Any help would be great, thanks!


Yanflys Main Menu Manager plugin: http://yanfly.moe/2015/10/17/yep-14-main-menu-manager/
 

mogwai

1984
Veteran
Joined
Jun 10, 2014
Messages
875
Reaction score
599
First Language
English
Primarily Uses
RMMV
Wow that has a lot of parameters! I would rather write a whole script than delve one-line-at-a-time inputs in the crappy plugin parameters UI.

It looks like it takes an eval condition; I guess you just well be using script anyway. I suppose you can make like (for one of the conditions because it's an eval)
PHP:
$gameSwitches.value(69)
or
PHP:
[1,2,3,4,5,25,69].indexOf($gameMap._mapId) !== -1
This one ^ is only on those gameMap numbers.
 

KingKraken

Veteran
Veteran
Joined
Apr 2, 2015
Messages
154
Reaction score
57
First Language
English
Primarily Uses
RMMV
That did the trick! Thanks so much!
 

JuanArturo

Villager
Member
Joined
Oct 4, 2017
Messages
5
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
I want to exactly this, but i do not know how to "did the trick". help please
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,512
Reaction score
12,003
First Language
English
Primarily Uses
RMVXA
[necro]JuanArturo[/necro]

I suggest you start a new thread stating exactly what your problem is, and what you have done to try and resolve it. Your query may well not be identical to this one.

[mod]Closing[mod][/mod][/mod]
 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

I think it's ready - Chapter Selection:
unknown.png
On another more gaming topic, I paid 20 bucks for a visual novel to emotionally destroy me. I may write an entry about that.
1638611395177.png
Reading about metaverses recently. I can totally imagine myself in the future, logging in with VR glasses to a virtual beach villa sitting in a virtual chair, with a virtual laptop facing the sea...coding 16-bit RM.
Mod name: "[Game name] Gameplay Overhaul"
What they actually mean: "Here is a mod that makes the game harder."
I decided to reinstall one of my most favourite game of all times, Gothic 2. Time to get back to Khorinis!

Forum statistics

Threads
117,174
Messages
1,105,157
Members
153,289
Latest member
Atmey
Top