加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
XAS可以把技能事件从1号图复制过来,存在一段事件。
FBS可以把队友从158号地图复制过来。
觉得这个功能好强大。可是我用不出来。
def fgadd(id) map_id = 1 # return unless self.is_map? map = load_data(sprintf("Data/Map%03d.rxdata", map_id)) temp = Marshal.load(Marshal.dump(map)) if !$game_system.map_events_number $game_system.map_events_number = {} end sum = $game_system.map_events_number m_id = $game_map.map_id sum[m_id] == nil ? sum[m_id] = 2000 : sum[m_id] += 1 new_event_id = sum[m_id] temp.events[id].id = new_event_id temp.events[id].x,temp.events[id].y = $game_player.x, $game_player.y $game_map.events.values += temp.events[id].values end
def fgadd(id)
map_id = 1
# return unless self.is_map?
map = load_data(sprintf("Data/Map%03d.rxdata", map_id))
temp = Marshal.load(Marshal.dump(map))
if !$game_system.map_events_number
$game_system.map_events_number = {}
end
sum = $game_system.map_events_number
m_id = $game_map.map_id
sum[m_id] == nil ? sum[m_id] = 2000 : sum[m_id] += 1
new_event_id = sum[m_id]
temp.events[id].id = new_event_id
temp.events[id].x,temp.events[id].y = $game_player.x, $game_player.y
$game_map.events.values += temp.events[id].values
end
|