查看: 1708|回复: 2

[已经解决] 去掉菜单中的“技能”“队伍”选项。

[复制链接]
梦石
0
星屑
55
在线时间
45 小时
注册时间
2014-6-7
回帖
20
发表于 2014-7-19 10:42:39 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
如题,怎样去掉技能、队伍选项?想做一个解谜的游戏。
有没有最简单的方法,我不太会脚本。
跪求了!!
温柔正确的人总是难以生存,因为这世界既不温柔,也不正确

…あたしは天

梦石
0
星屑
2308
在线时间
4033 小时
注册时间
2010-10-4
回帖
10548

开拓者贵宾

发表于 2014-7-19 10:47:54 | 显示全部楼层
[pre lang="ruby" line="1"]class Window_MenuCommand
  def add_main_commands
    add_command(Vocab::item,   :item,   main_commands_enabled)
    # add_command(Vocab::skill,  :skill,  main_commands_enabled)
    add_command(Vocab::equip,  :equip,  main_commands_enabled)
    add_command(Vocab::status, :status, main_commands_enabled)
  end
  def add_formation_command
    # add_command(Vocab::formation, :formation, formation_enabled)
  end
end[/pre]

评分

参与人数 1梦石 +1 收起 理由
VIPArcher + 1 好人卡破百

查看全部评分

回复

使用道具 举报

梦石
0
星屑
55
在线时间
45 小时
注册时间
2014-6-7
回帖
20
 楼主| 发表于 2014-7-19 10:53:08 | 显示全部楼层
按照你说的,真的成功了~谢谢!
温柔正确的人总是难以生存,因为这世界既不温柔,也不正确
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部