ML4455739 发表于 2011-7-27 05:38
if $game_map.events[@event_id].x - $game_player.x
这个方法,主角在之下就不好用了,不过还是谢谢,在下面貌似是主角-事件 呵呵
又要加4个条件分歧了������
if $game_map.events[@event_id].x >= $game_player.x and $game_player.y >= $game_map.events[@event_id].y
if game_map.events[@event_id].x - $game_player.x and game_map.events[@event_id].y - $game_player.y
#要执行的东西
end
elsif XXX像上面一样
end