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

Just lost about half a day's worth of work because rpg maker crashed during playtesting and corrupted my file :kaolivid:
Boku.gif
advanced_puzzling.PNG
Having a lot of fun making different poses for my character sets! Open to suggestions/critique!

CSKttqh.png

AABS laser beams features:
1,Shoot penetrating laser beams for player's normal attack
2,Beam's width/damage/comsumes/loot can be controlled by events/variables with great flexibility
3,Beam can rebound to walls or certain regionID
4,Can play SE when shooting beams
5,Beam's images can be solid images or animated ones.
Surprising nobody, it turns out "next Friday" for the next Jump into Javascript has become "possibly Sunday if you're lucky" XD

Forum statistics

Threads
117,017
Messages
1,103,870
Members
152,917
Latest member
Adversary
Top