本帖最后由 suixinsua 于 2018-8-11 13:41 编辑
- https://rpg.blue/thread-378738-1-1.html
复制代码
事件名称里带有<move>的事件可以全地图自主移动
class Game_Event;alias vip1552usm update_self_movement;def update_self_movement return vip1552usm unless @event.name.include?('<move>');if @stop_count > stop_count_threshold;case @move_type;when 1 then move_type_random when 2 then move_type_toward_player;when 3 then move_type_custom end end end end
class Game_Event;alias vip1552usm update_self_movement;def update_self_movement
return vip1552usm unless @event.name.include?('<move>');if @stop_count >
stop_count_threshold;case @move_type;when 1 then move_type_random
when 2 then move_type_toward_player;when 3 then move_type_custom
end end end end
|