[RESOLVED] Option to open a window to display contols?

Started by mattertatter, July 10, 2012, 03:31:04 am

Previous topic - Next topic

G_G


mattertatter

that fixed the error but it is still going to "items" when I close it and not back to "controls"

diagostimo

July 13, 2012, 02:13:31 am #22 Last Edit: July 13, 2012, 02:25:12 am by diagostimo
when and where does @callback get set a value? i am guessing that your problem is that that is not setting to the value if 0, if you call $scene = Scene_Menu.new that will take you to the index point defined in the initialize method so im guessing that its going straight off of the else command
edit:
im guessing that your just wanting it to go straight back to the control option no matter what so change that section to this:

if Input.trigger?(Input::B)
 # Play cancel SE
 $game_system.se_play($game_system.cancel_se)
 # Switch to the Menu screen
 $scene = Scene_Menu.new(INDEX VALUE)
end

INDEX VALUE should be changed to wherever in the index your wanting to go, just bear in mind it starts from 0 not 1

mattertatter

Ok all is good now, thanks for all the help guys.