MZ Calling a common event from menu

Hi:

I ran into the following problem:

I'm using the VS sample project.

Inside, they have a VS crystal, that opens up the following menu.

I thought it was a brilliant idea and I want to use it for fast travelling, so players don't have to run across the maps.

Q1:
However, I can't seem to activate the item.
Can anyone help?

Q2:
What if I want to run this CE at the menu?
I managed to add "Travel" to the menu using VZ core, but I don't know how to run a CE in the script field.
How do I program it to run Common Event No. 12 for example?

Any help is appreciated. Thank you all.
dont you need a number in the common event's brackets. trying to tell it to run a CE but not specifying which 1
dont you need a number in the common event's brackets. trying to tell it to run a CE but not specifying which 1

I tried that. It didn't work.
I tried 0012. Didn't work either.

I'm sure that the CE on itself works, but somehow I don't know how to activate it.

Summer - RPG Maker MZ 9_25_2021 3_30_15 AM.png
Summer - RPG Maker MZ 9_25_2021 3_29_38 AM.png
hi, from plugins.. go to main menu core.
go to Command Window List
double-click on commonEvent1

only change Icon to whatever you like
STR: Text to whatever you want it to appear as in menu
JS: Show to TRUE
JS: Ext to 12 (this is the data it looks for)
leave everything else the same
CEMenu.png
That worked like a charm!
Thank you for your help and your detailed instruction! 🙂

hi, from plugins.. go to main menu core.
go to Command Window List
double-click on commonEvent1

only change Icon to whatever you like
STR: Text to whatever you want it to appear as in menu
JS: Show to TRUE
JS: Ext to 12 (this is the data it looks for)
leave everything else the same
View attachment 202312
You're welcome, friend!
Happy game making! 🙂
Moved to: Plugin Support

Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/calling-a-common-event-from-menu.140752/