| 
 
| 赞 | 0 |  
| VIP | 0 |  
| 好人卡 | 14 |  
| 积分 | 1 |  
| 经验 | 11195 |  
| 最后登录 | 2017-6-7 |  
| 在线时间 | 543 小时 |  
 Lv1.梦旅人 
	梦石0 星屑50 在线时间543 小时注册时间2009-7-13帖子63 | 
| 本帖最后由 nanaka 于 2011-10-5 15:31 编辑 
 ---------------------------------------------------------------------复制代码$game_map.events[事件id].moveto(x,y)
插进去在事件脚本里写swap_event(事件id1,事件id2)就行了复制代码module Swap_Event
  module Command
    def swap_event(id1,id2)
      swapx = $game_map.events[id2].x
      swapy = $game_map.events[id2].y
      $game_map.events[id2].moveto($game_map.events[id1].x,$game_map.events[id1].y)
      $game_map.events[id1].moveto(swapx,swapy)
    end
  end
end
class Game_Interpreter
  include Swap_Event::Command
end
 | 
 |