@menu1.set_handlertask, methodcommand_task))
@menu1.set_handlerfolmagi, methodcommand_folmagi))
@menu1.set_handlerfolbruti, methodcommand_folbruti))
@menu1.set_handlercancel, methodreturn_scene))
end
def freezefix
@menu1.active = true
end
def command_task
$game_temp.reserve_common_event(1)
freezefix
end
This is a cutout from me learning rgss3 scripting. I am currently learning how to script an menu.
Anyway, I am having trouble understanding what controls the flow of when the command event I am calling is ran at.
This part:
def command_task
$game_temp.reserve_common_event(1)
freezefix
end
I want the common event to be run directly when that method is called. At the moment the common event is executed after i have exited my custom menu.
Does anyone know how I can get the common event to be executed directly so I do not have tp close my menu in game for it to run?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.