| 
 
| 赞 | 47 |  
| VIP | 2420 |  
| 好人卡 | 100 |  
| 积分 | 58 |  
| 经验 | 75384 |  
| 最后登录 | 2025-10-29 |  
| 在线时间 | 3697 小时 |  
 Lv4.逐梦者 (暗夜天使) 名侦探小柯 
	梦石2 星屑3772 在线时间3697 小时注册时间2006-9-6帖子37422     
 | 
| 以下引用沉影不器于2008-4-20 11:56:54的发言:
 事件无效因为主角正在强制行动中,去掉这个判断,自己写其它判断方式吧,或者另加个开关控制
 
 
 #--------------------------------------------------------------------------
 # ● 判断正面的事件启动
 #     triggers : 目标队列
 #--------------------------------------------------------------------------
 def check_event_trigger_there(triggers)
 return false if $game_map.interpreter.running? # 这句要是注释掉就能触发了
 result = false
 front_x = $game_map.x_with_direction(@x, @direction)
 front_y = $game_map.y_with_direction(@y, @direction)
 for event in $game_map.events_xy(front_x, front_y)
 if triggers.include?(event.trigger) and event.priority_type == 1
 event.start
 result = true
 end
 end
 if result == false and $game_map.counter?(front_x, front_y)
 front_x = $game_map.x_with_direction(front_x, @direction)
 front_y = $game_map.y_with_direction(front_y, @direction)
 for event in $game_map.events_xy(front_x, front_y)
 if triggers.include?(event.trigger) and event.priority_type == 1
 event.start
 result = true
 end
 end
 end
 return result
 end
搜索这段脚本然后后去掉那句?
 | 
 |