I am trying to do two commands, which I would leave it as:
A command for a certain list and another command for confirm and cancel.
for example, I have this:
def create_f_command @confirm_command = FirstCommand.new @confirm_command.set_handler🙂frozen, method🙂command_frozen)) @confirm_command.set_handler🙂cancel, method🙂command_frozencancel)) endand my second command called:
def create_s_command @confirm_commandb = SecondCommand.new @confirm_commandb.set_handler🙂morrowind, method🙂command_morrowind)) @confirm_commandb.set_handler🙂stormcloaks, method🙂command_stormcloaks)) endnow, what I did was to display them in one scene. However, both of them seems to be working. The other one is horizontal and the other one is vertical. What I wanted to do is if I select the command frozen, the other commands would be transferred to morrowind and stormcloaks. Remember that scene where you select the formation and when you cancel you go back to the menu command?
How can I exactly do that? I tried doing unselect method which I placed on the commands but it doesn't work.
i.e.
A command for a certain list and another command for confirm and cancel.
for example, I have this:
def create_f_command @confirm_command = FirstCommand.new @confirm_command.set_handler🙂frozen, method🙂command_frozen)) @confirm_command.set_handler🙂cancel, method🙂command_frozencancel)) endand my second command called:
def create_s_command @confirm_commandb = SecondCommand.new @confirm_commandb.set_handler🙂morrowind, method🙂command_morrowind)) @confirm_commandb.set_handler🙂stormcloaks, method🙂command_stormcloaks)) endnow, what I did was to display them in one scene. However, both of them seems to be working. The other one is horizontal and the other one is vertical. What I wanted to do is if I select the command frozen, the other commands would be transferred to morrowind and stormcloaks. Remember that scene where you select the formation and when you cancel you go back to the menu command?
How can I exactly do that? I tried doing unselect method which I placed on the commands but it doesn't work.
i.e.
Code:
def command_frozen @confirm_command.unselect @confirm_commandb.activateend