加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
原委是这样的:使用了pixi渲染器,为此关闭了Community_Basic插件。现在想在进入第二张地图后关闭渲染器并打开Community_Basic。
已善用搜索,在收藏夹中发现了以前保存过的p1的脚本,但是找不到来源,所以也不清楚用法QAQ
请问这个插件该如何使用?或者有脚本/插件能做到在游戏事件中开关插件吗?
var aliasPluginCommand = Game_Interpreter.prototype.pluginCommand; Game_Interpreter.prototype.pluginCommand = function(command, args) { aliasPluginCommand.call(this, command, args); if (command === 'plugincommandtextname') { dostuff(args); } };
var aliasPluginCommand = Game_Interpreter.prototype.pluginCommand;
Game_Interpreter.prototype.pluginCommand = function(command, args) {
aliasPluginCommand.call(this, command, args);
if (command === 'plugincommandtextname') {
dostuff(args);
}
};
|