查看: 1534|回复: 4

改变选单出现问题0.0

  [复制链接]
头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-1-23
回帖
9
发表于 2008-2-5 08:15:56 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽

御灵的宠物

梦石
12
星屑
8481
在线时间
94 小时
注册时间
2006-12-11
回帖
3101

第2届TG大赛亚军

发表于 2008-2-5 08:27:34 | 显示全部楼层
在scene_battle(忘记具体是哪个了...)
搜一下case @actor_command_window.index吧....
肯定能看到你要的嗯...
我的Lofter:http://nightoye.lofter.com/

回复

使用道具 举报

头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-1-23
回帖
9
 楼主| 发表于 2008-2-5 08:44:08 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

御灵的宠物

梦石
12
星屑
8481
在线时间
94 小时
注册时间
2006-12-11
回帖
3101

第2届TG大赛亚军

发表于 2008-2-5 09:14:13 | 显示全部楼层
你先按我说的搜索一下吧。
判断是用index来的
我的Lofter:http://nightoye.lofter.com/

回复

使用道具 举报

綾川司の姫様<

梦石
0
星屑
50
在线时间
796 小时
注册时间
2007-12-20
回帖
4461

贵宾第3届短篇游戏大赛R剧及RMTV组亚军

发表于 2008-2-5 10:37:11 | 显示全部楼层
Scene_Battle 3 里面找到
  1.     if Input.trigger?(Input::C)
  2.       # 角色指令窗口光标位置分之
  3.       case @actor_command_window.index
  4.       when 0  # 攻击
  5.         # 演奏确定 SE
  6.         $game_system.se_play($data_system.decision_se)
  7.         # 设置行动
  8.         @active_battler.current_action.kind = 0
  9.         @active_battler.current_action.basic = 0
  10.         # 开始选择敌人
  11.         start_enemy_select
  12.       when 1  # 特技
  13.         # 演奏确定 SE
  14.         $game_system.se_play($data_system.decision_se)
  15.         # 设置行动
  16.         @active_battler.current_action.kind = 1
  17.         # 开始选择特技
  18.         start_skill_select
  19.       when 2  # 防御
  20.         # 演奏确定 SE
  21.         $game_system.se_play($data_system.decision_se)
  22.         # 设置行动
  23.         @active_battler.current_action.kind = 0
  24.         @active_battler.current_action.basic = 1
  25.         # 转向下一位角色的指令输入
  26.         phase3_next_actor
  27.       when 3  # 物品
  28.         # 演奏确定 SE
  29.         $game_system.se_play($data_system.decision_se)
  30.         # 设置行动
  31.         @active_battler.current_action.kind = 2
  32.         # 开始选择物品
  33.         start_item_select
  34.       end
  35.       return
  36.     end
  37.   end
复制代码


改成
  1.     # 按下 C 键的情况下
  2.     if Input.trigger?(Input::C)
  3.       # 角色指令窗口光标位置分之
  4.       case @actor_command_window.index
  5.       when 0  # 特技
  6.         # 演奏确定 SE
  7.         $game_system.se_play($data_system.decision_se)
  8.         # 设置行动
  9.         @active_battler.current_action.kind = 1
  10.         # 开始选择特技
  11.         start_skill_select
  12.       when 1  # 防御
  13.         # 演奏确定 SE
  14.         $game_system.se_play($data_system.decision_se)
  15.         # 设置行动
  16.         @active_battler.current_action.kind = 0
  17.         @active_battler.current_action.basic = 1
  18.         # 转向下一位角色的指令输入
  19.         phase3_next_actor
  20.       when 2  # 物品
  21.         # 演奏确定 SE
  22.         $game_system.se_play($data_system.decision_se)
  23.         # 设置行动
  24.         @active_battler.current_action.kind = 2
  25.         # 开始选择物品
  26.         start_item_select
  27.       end
  28.       return
  29.     end
  30.   end
复制代码

系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~

生命即是责任。自己即是世界。
回复

使用道具 举报

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

本版积分规则

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

在本版发帖返回顶部