QQ蚊子湯 发表于 2016-10-14 19:58
沒測試過,實際做起來不知道怎麼樣
@map = load_data(sprintf("Data/Map%03d.rvdata2", $game_map.map_id)) $game_map.events.each do |k,v| p temp = @map.events[k.to_i].name #此处获取了当前地图上事件的名字 if temp =~ /<Target_A>/ key = [$game_map.map_id,k.to_i,"C"] $game_self_switches[key] = true end end
百里_飞柳 发表于 2016-10-17 09:21
@map = load_data(sprintf("Data/Map%03d.rvdata2", $game_map.map_id))
$game_map.events.each d ...
百里_飞柳 发表于 2016-10-17 09:21
@map = load_data(sprintf("Data/Map%03d.rvdata2", $game_map.map_id))
$game_map.events.each d ...
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |