Can't assign Escape key in Yanfly's ButtonCommonEvents?

Oatilis

Veteran
Veteran
Joined
Mar 16, 2016
Messages
37
Reaction score
12
First Language
Hebrew
Primarily Uses
I might be missing something but I can't find the Escape key in the plugin, and I really want to replace the current functionality with a common event.

I found this thread, they discuss using a parallel process to open a common event when the player presses Escape, but this solution is not that great. I would much rather just use ButtonCommonEvents.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,729
Reaction score
4,685
First Language
English
Primarily Uses
RMMZ

I've moved this thread to Javascript/Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,944
Reaction score
1,050
First Language
Dutch
Primarily Uses
RMMV
if you have an evented menu (like in my spoiler), pressing X or ESC open the menu,
but it doesn't close when you press X or ESC again.

in order to do that (which is stated in the helpfile) is to use the
Plugin Command: RevertButton Cancel so it will work again.

you place the plugin command inside the conditional brance before it opened the event,
than you can close it as well.

or you can explain a bit more in what event you want to use it for?
 

Oatilis

Veteran
Veteran
Joined
Mar 16, 2016
Messages
37
Reaction score
12
First Language
Hebrew
Primarily Uses
if you have an evented menu (like in my spoiler), pressing X or ESC open the menu,
but it doesn't close when you press X or ESC again.

in order to do that (which is stated in the helpfile) is to use the
Plugin Command: RevertButton Cancel so it will work again.

you place the plugin command inside the conditional brance before it opened the event,
than you can close it as well.

or you can explain a bit more in what event you want to use it for?
Thanks, but I don't want to create a menu this way, because I think it's more elegant to use BCE and actually assign the key to the (common) menu event, than to manually place another event in every single map.

For now I just want to understand how to assign a common event to the Escape key using Yanfly's BCE plugin.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,944
Reaction score
1,050
First Language
Dutch
Primarily Uses
RMMV
I dont say you have to create an evented menu, it was an example on the way
you built your event.

it is possible without the event on every map, but it require a work around.
but when you activate a common event with a button to pop up and close,
do you use the plugin command: RevertButton Cancel (which is the X, ESC buttons)

if you use another button, let say T to open T and close, there is probably a button
to use as well, RevertButton T or the code of it (need to check the helpfile for that).

if those doesn't work, it might be a bit modified, but than we need to see the event itself,
or explain what the event does.

open and close, needs the revert button so it become useable again when you toggle
something.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

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.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,455
Members
137,821
Latest member
Capterson
Top