| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 1 | 
 
| 经验 | 35025 | 
 
| 最后登录 | 2017-9-29 | 
 
| 在线时间 | 231 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 50 
 
        - 在线时间
 - 231 小时
 
        - 注册时间
 - 2007-12-17
 
        - 帖子
 - 541
 
 
 
 | 
	
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员  
 
x
 
 本帖最后由 stella 于 2015-7-6 23:24 编辑  
 
以下脚本是当某XX事件右方一格距离有编号大于10的事件,XX事件就允许穿透,穿过编号大于10的事件。 
 
我希望变成:当XX事件一穿过编号大于10的事件后,允许穿透就立刻关闭,应该怎么改写脚本?- case @direction
 
 - when 6
 
 - if ($game_map.check_event(@x+1,@y) != nil and $game_map.check_event(@x+1,@y) > 10) 
 
 -   @through = true
 
 -   return
 
 - end
 
  复制代码 |   
 
 
 
 |