本帖最后由 taroxd 于 2014-7-2 20:14 编辑
class Game_Event #-------------------------------------------------------------------------- # ● 锁定(立即停止执行中的事件) #-------------------------------------------------------------------------- def lock unless @locked @prelock_direction = @direction turn_toward_player unless @event.name.include?('fix') @locked = true end end end
class Game_Event
#--------------------------------------------------------------------------
# ● 锁定(立即停止执行中的事件)
#--------------------------------------------------------------------------
def lock
unless @locked
@prelock_direction = @direction
turn_toward_player unless @event.name.include?('fix')
@locked = true
end
end
end
然后在事件名称上写 fix,只要有这三个字母连起来就行
@熊喵酱 结贴 |