[SOLVED] YANFLY | Ace Menu Engine - Adding commands

Hello everybody!

I'm using YANFLY | Ace Menu Engine and I'm customizing my menu.

I added many custom command here, but I have one problem.

How to set command to go to another scene after choosing actor?

I mean something like in "Skills" or "Equip" - When you choose that command, you need to choose your actor next, then it will redirect you to another scene with actor picked.

So that's it... Is there a way to setup that? I hope I didn't overlooked anything...

Thanks in advance! =)
Assuming that the custom script with the custom scene defined a scene to call in the 'on_personal_ok' method in Scene_Menu, you can simply replace the handler of the custom command setup for that command to :command_personal.


Note that if the custom script did not define the required calls in the mentioned method, the game will freeze upon selecting an actor in the main menu.


So the setting in Yanfly's script should look something like:

Code:
:command => ["Name",Sw_ID1,Sw_ID2, :command_personal]
Yes, that worked!

... but as you said, the game freezes.

I wanted to do that, because yanfly | learn skill engine is bugged when changing actors using L & R buttons, which crashes game, so I disabled these buttons and wanted to do that manually.

I'm assuming it cannot be changed?

Then I'll have to make another thread to post problem with the other script...

But thanks for help anyway! =)

Now I know, that I need to fix something else. =)

(Spent the whole day on some fixes and still didn't managed to fix everything... it will really take forever... =P )
I'm sorry for double posting, but the problem is solved and I want to close this thread.

~~~~~

I can't believe that was that easy!

I found a workaround and now I added that command as personal and it doesn't freeze game and works perfectly.

The answer was really BIG and I can't believe I overlooked that.

Anyway, thanks for help! =)
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-yanfly-ace-menu-engine-adding-commands.42743/