| 赞 | 5  | 
 
| VIP | 211 | 
 
| 好人卡 | 175 | 
 
| 积分 | 8 | 
 
| 经验 | 48096 | 
 
| 最后登录 | 2014-1-9 | 
 
| 在线时间 | 1327 小时 | 
 
 
 
 
 
Lv2.观梦者 (?????) 
	- 梦石
 - 0 
 
        - 星屑
 - 814 
 
        - 在线时间
 - 1327 小时
 
        - 注册时间
 - 2011-7-18
 
        - 帖子
 - 3184
 
 
  
 
 | 
	
 本帖最后由 各种压力的猫君 于 2011-12-23 09:57 编辑  
 
算了不用刚才那个超麻烦的脚本了 = = b 换下面这个 
 - #==============================================================================
 
 - # ■ [XP]Set Encounter
 
 - #------------------------------------------------------------------------------
 
 - #  使用方法:(事件脚本输入)
 
 - #   set_encounter([4, 5, 6])  将遇敌列表设为4、5、6(敌人队伍编号)
 
 - #   clear_encounter           清空遇敌列表(不会遇敌,但不是禁止遇敌)
 
 - #   default_encounter         恢复默认遇敌列表
 
 - #==============================================================================
 
  
- # 默认用200号变量储存新的遇敌列表,如有需要请自行修改
 
 - ENCOUNTER_VARIABLE = 200
 
  
- class Game_Map
 
 -   #--------------------------------------------------------------------------
 
 -   # ● 获取遇敌列表
 
 -   #--------------------------------------------------------------------------
 
 -   def encounter_list
 
 -     if $game_variables[ENCOUNTER_VARIABLE] != 0
 
 -       return $game_variables[ENCOUNTER_VARIABLE]
 
 -     else
 
 -       return @map.encounter_list
 
 -     end
 
 -   end
 
 - end
 
 - class Interpreter
 
 -   # 设置遇敌列表
 
 -   def set_encounter(array)
 
 -     $game_variables[ENCOUNTER_VARIABLE] = array
 
 -   end
 
 -   # 清空遇敌列表
 
 -   def clear_encounter
 
 -     $game_variables[ENCOUNTER_VARIABLE] = []
 
 -   end
 
 -   # 默认遇敌列表
 
 -   def default_encounter
 
 -     $game_variables[ENCOUNTER_VARIABLE] = 0
 
 -   end
 
 - end
 
  复制代码 把这个脚本插入MAIN以上,然后参考脚本头部注释即可 - - 
复制两份地图太麻烦了 = = 宝箱如果用了独立开关会导致可以开两次的 
  
如果你觉得英文不好记呢……你当然也可以用中文 ╮(╯_╰)╭- #==============================================================================
 
 - # ■ [XP]设置遇敌列表(中文版)
 
 - #------------------------------------------------------------------------------
 
 - #  使用方法:(事件脚本输入)
 
 - #   设置遇敌列表([4, 5, 6])  将遇敌列表设为4、5、6(敌人队伍编号)
 
 - #   清空遇敌列表             清空遇敌列表(不会遇敌,但不是禁止遇敌)
 
 - #   默认遇敌列表             恢复默认遇敌列表
 
 - #==============================================================================
 
  
- # 默认用200号变量储存新的遇敌列表,需要修改请自行修改
 
 - ENCOUNTER_VARIABLE = 200
 
  
- class Game_Map
 
 -   #--------------------------------------------------------------------------
 
 -   # ● 获取遇敌列表
 
 -   #--------------------------------------------------------------------------
 
 -   def encounter_list
 
 -     if $game_variables[ENCOUNTER_VARIABLE] != 0
 
 -       return $game_variables[ENCOUNTER_VARIABLE]
 
 -     else
 
 -       return @map.encounter_list
 
 -     end
 
 -   end
 
 - end
 
 - class Interpreter
 
 -   # 设置遇敌列表
 
 -   def 设置遇敌列表(array)
 
 -     $game_variables[ENCOUNTER_VARIABLE] = array
 
 -   end
 
 -   # 清空遇敌列表
 
 -   def 清空遇敌列表
 
 -     $game_variables[ENCOUNTER_VARIABLE] = []
 
 -   end
 
 -   # 默认遇敌列表
 
 -   def 默认遇敌列表
 
 -     $game_variables[ENCOUNTER_VARIABLE] = 0
 
 -   end
 
 - end
 
  复制代码 |   
 
评分
- 
查看全部评分
 
 
 
 
 
 |