taroxd 发表于 2014-8-28 05:31
未测试,获取最近的事件ID:
$game_map.events.min_by {|id, event| (event.x - $game_player.x).abs + (ev ...
幼吾幼 发表于 2014-8-28 09:02
怎么用那?
4410a9d340bd5c6d960a166e.jpg (29.12 KB, 下载次数: 36)
幼吾幼 发表于 2014-8-28 11:09
可不可以:
脚本:$game_map.events.min_by {|id, event| (event.x - $game_player.x).abs + (event.y - ...
4410a9d340bd5c6d960a166e.jpg (16.11 KB, 下载次数: 32)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |