Project1

标题: 去掉菜单中的“技能”“队伍”选项。 [打印本页]

作者: 青鸟黑岩    时间: 2014-7-19 10:42
标题: 去掉菜单中的“技能”“队伍”选项。
如题,怎样去掉技能、队伍选项?想做一个解谜的游戏。
有没有最简单的方法,我不太会脚本。
跪求了!!
作者: taroxd    时间: 2014-7-19 10:47
RUBY 代码复制
  1. class Window_MenuCommand
  2.   def add_main_commands
  3.     add_command(Vocab::item,   :item,   main_commands_enabled)
  4.     # add_command(Vocab::skill,  :skill,  main_commands_enabled)
  5.     add_command(Vocab::equip,  :equip,  main_commands_enabled)
  6.     add_command(Vocab::status, :status, main_commands_enabled)
  7.   end
  8.   def add_formation_command
  9.     # add_command(Vocab::formation, :formation, formation_enabled)
  10.   end
  11. end

作者: 青鸟黑岩    时间: 2014-7-19 10:53
按照你说的,真的成功了~谢谢!




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1