|
发表于 2011-6-9 09:14:49
|
显示全部楼层
说方法。。。。
1.事件指令---脚本 $update_monster = true
这条指令一定要放在 场景移动之前。
只要需要刷新。。就在场景移动之前写这个指令。。。
2.Scene_Map
265行。。
# 刷新地图 (执行并行事件)
$update_monster = false ############这是多出来的
$game_map.update
3.Game_Event
def refresh下边添加
if $update_monster
if @event.name.include?("monster")
key = [@map_id, @event.id, "A"]
$game_self_switches[key] = false
end
end
汇报完毕。。。上工程中
另外可以 将$update_monster改成开关
$game_switches[id:开关的编号]
事件指令的时候可以打开开关来代替那句脚本 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|