| 赞 | 1  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 26 | 
 
| 经验 | 0 | 
 
| 最后登录 | 2025-10-11 | 
 
| 在线时间 | 212 小时 | 
 
 
 
 
 
Lv3.寻梦者 
	- 梦石
 - 0 
 
        - 星屑
 - 2572 
 
        - 在线时间
 - 212 小时
 
        - 注册时间
 - 2018-8-8
 
        - 帖子
 - 105
 
 
 
 | 
	
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员  
 
x
 
在下搬运了一个可以显示人物信息的脚本到游戏,如图。 
 
 
 
目前是按“Q”关闭,按“W”打开该提示面板,但每次一打开游戏测试就自动弹出面板,必须再按一下“Q”键才能关闭,求各位懂脚本的大佬帮忙调整一下,把它变成默认关闭的。萌新在此感激不尽。 
脚本: 
class Window_MapStatus < Window_Base 
  def initialize 
    super(0, 0, Graphics.width/2, fitting_height(9)) 
    refresh 
  end 
  def refresh 
    contents.clear 
    $game_party.members.each_with_index do |actor,i| 
      draw_actor_simple_status(actor,x,fitting_height(2)*i) 
    end 
  end 
end 
class Scene_Map < Scene_Base 
  alias hawkeye_start start 
  def start 
    hawkeye_start 
    @status_window = Window_MapStatus.new 
  end 
  alias hawkeye_update update 
  def update 
    hawkeye_update 
    @status_window.close if Input.press?(:L) 
    @status_window.open if Input.press?(:R) 
  end 
end 
 
 |   
 
 
 
 |