| 
 
| 赞 | 0 |  
| VIP | 0 |  
| 好人卡 | 1 |  
| 积分 | 1 |  
| 经验 | 18878 |  
| 最后登录 | 2017-10-1 |  
| 在线时间 | 646 小时 |  
 Lv1.梦旅人 
	梦石0 星屑50 在线时间646 小时注册时间2011-6-23帖子249 | 
| 
之前提过这个问题,不过秒沉了- -
x
加入我们,或者,欢迎回来。您需要 登录 才可以下载或查看,没有帐号?注册会员  要求:
 
 通过在事件中插入脚本“调查提示1”或“调查提示2” ,在画面的左下方显示一个对话框,内容为“调查”
 当用户在事件中插入脚本“调查提示1”时,判断方式为:当主角面向该事件时,在画面的左下方显示一个对话框,内容为“调查”
 当用户在事件中插入脚本“调查提示2”时,判断方式为:当主角的xy坐标=该事件xy坐标时,在画面的左下方显示一个对话框,内容为“调查”
 
 
 附上我按教程写了1%的脚本
 越快越好复制代码#===============================================================================
#                                 调查提示脚本
#===============================================================================
module Window_Survey_Preparation
  Expression = /调查类型(\d+)/
end
class Window_Survey < Window_Base
  #=============================================================================
  #                                 初始化
  #=============================================================================
  def initialize
    super(484,371, 60, 45)
    self.opacity = 180
    self.padding = 2
    self.padding_bottom = 0
    refresh
  end
  #=============================================================================
  #                                刷新画面
  #=============================================================================
  def update
    super
    refresh
  end
  #=============================================================================
  #                                更新内容
  #=============================================================================
  def refresh
    self.contents.clear
    self.contents.font.size = 16
    self.contents.draw_text(0,0,self.contents.width + 8,self.contents.height + 8,"调查",1)
  end
end
 | 
 |