本帖最后由 wolves 于 2015-5-23 04:11 编辑  
 
当你需要一段时间消失可以$time_count=true 
还有就是如果你想暂时显示对话框,而不用什么选择、事件,你可以把Game_player的209行那部分脚本改成第二个脚本 
Window_Message 220行改成如下部分# 显示信息中的情况下     if @contents_showing       $time_out=0 if $time_out.nil?       $time_out+=1 if $time_count       # 如果不是在显示选择项中就显示暂停标志       if $game_temp.choice_max == 0         self.pause = true       end       # 取消       if Input.trigger?(Input::B)         if $game_temp.choice_max > 0 and $game_temp.choice_cancel_type > 0           $game_system.se_play($data_system.cancel_se)           $game_temp.choice_proc.call($game_temp.choice_cancel_type - 1)           terminate_message         end       end       # 确定       if Input.trigger?(Input::C) || $time_out == 100#暂停的时间,单位为帧         if $game_temp.choice_max > 0           $game_system.se_play($data_system.decision_se)           $game_temp.choice_proc.call(self.index)         end         terminate_message         $time_out=0       end       return     end 
 
 # 显示信息中的情况下  
    if @contents_showing  
      $time_out=0 if $time_out.nil?  
      $time_out+=1 if $time_count  
      # 如果不是在显示选择项中就显示暂停标志  
      if $game_temp.choice_max == 0  
        self.pause = true  
      end  
      # 取消  
      if Input.trigger?(Input::B)  
        if $game_temp.choice_max > 0 and $game_temp.choice_cancel_type > 0  
          $game_system.se_play($data_system.cancel_se)  
          $game_temp.choice_proc.call($game_temp.choice_cancel_type - 1)  
          terminate_message  
        end  
      end  
      # 确定  
      if Input.trigger?(Input::C) || $time_out == 100#暂停的时间,单位为帧  
        if $game_temp.choice_max > 0  
          $game_system.se_play($data_system.decision_se)  
          $game_temp.choice_proc.call(self.index)  
        end  
        terminate_message  
        $time_out=0  
      end  
      return  
    end  
 
  
if $time_count       unless moving? or        ($game_system.map_interpreter.running?&&!$game_temp.message_window_showing) or @move_route_forcing         # 如果方向键被按下、主角就朝那个方向移动         case Input.dir4         when 2           move_down         when 4           move_left         when 6           move_right         when 8           move_up         end       end     else       unless moving? or $game_system.map_interpreter.running? or              @move_route_forcing or $game_temp.message_window_showing         # 如果方向键被按下、主角就朝那个方向移动         case Input.dir4         when 2           move_down         when 4           move_left         when 6           move_right         when 8           move_up         end       end     end 
 
 if $time_count  
      unless moving? or   
      ($game_system.map_interpreter.running?&&!$game_temp.message_window_showing) or @move_route_forcing  
        # 如果方向键被按下、主角就朝那个方向移动  
        case Input.dir4  
        when 2  
          move_down  
        when 4  
          move_left  
        when 6  
          move_right  
        when 8  
          move_up  
        end  
      end  
    else  
      unless moving? or $game_system.map_interpreter.running? or  
             @move_route_forcing or $game_temp.message_window_showing  
        # 如果方向键被按下、主角就朝那个方向移动  
        case Input.dir4  
        when 2  
          move_down  
        when 4  
          move_left  
        when 6  
          move_right  
        when 8  
          move_up  
        end  
      end  
    end  
 
  |