本帖最后由 tommay 于 2012-5-19 18:24 编辑 在Scene_Menu里加入下面的红色部分,数值可以自己调 def create_command_window s1 = Vocab::item s2 = Vocab::skill s3 = Vocab::equip s4 = Vocab::status s5 = Vocab::save s6 = Vocab::game_end @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6]) @command_window.y = 100 @command_window.index = @menu_index if $game_party.members.size == 0 # 如果队伍为空 @command_window.draw_item(0, false) # 无效化物品选项 @command_window.draw_item(1, false) # 无效化技能选项 @command_window.draw_item(2, false) # 无效化装备选项 @command_window.draw_item(3, false) # 无效化状态选项 end if $game_system.save_disabled # 如果禁止存档 @command_window.draw_item(4, false) # 无效化存档选项 end end |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-12-25 12:18
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.