Project1

标题: 怎样给脚本增加一个开关? [打印本页]

作者: 夸克    时间: 2010-6-29 22:34
提示: 作者被禁止或删除 内容自动屏蔽
作者: 「旅」    时间: 2010-6-29 22:50
一般都是——

class Window_xxxx #——这个xxxx看你的脚本怎么写
alias old_update update
def update
self.visible = $game_switches[开关ID]
old_update
end
end

如果错了的话,请发一下那个脚本的地址。




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1