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 Profile Posts

I'm listening to iiluminaughtii talking about the secrets behind shady businesses and scams. Meanwhile I'm writing a fanfic about Sephiroth from FF7, one specifically for my stepmom. I'll get to give it to her, too, because my boss said I could take the holidays off! Dec. 22-27 I will be in Orlando, and maybe Fort Myers too, visiting my dad and stepmom!
Of course, I bought a handful of games on the Steam Black Friday sale. Will I try them? Will I complete any? Who knows...
I don't really have any neat updates today about how I screwed up programming... But if you want to observe the intensenes of me programming, then you can check out my stream :)
New Weapons.gif
No more spam from me today, I promise! Just wanted to upload this, people have been giving me feedback that my weapon sprites (which were RTP) clashed badly with my battlers for ages, so today I finally took the plunge and updated them! Really happy with how they came out :D :D
So Facebook fraudulently took money from me. They even went through my PayPal accounts to find a card that had the money on it. Thinking about deleting my Facebook account because this doesn't happen on twitter, not even close.

Forum statistics

Threads
117,000
Messages
1,103,709
Members
152,894
Latest member
duc17265
Top