Created
November 5, 2020 11:49
-
-
Save triacontane/4f780fe0ed8d9275227c475b14125c22 to your computer and use it in GitHub Desktop.
プラグインコマンドでGame_Interpreterのメソッドを呼ぶ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*: | |
* @plugindesc CallInterpreterMethod | |
* @target MZ | |
* | |
* @command COMMAND_SAMPLE | |
* @text コマンド名称 | |
* @desc コマンドの説明 | |
* | |
* This plugin is released under the MIT License. | |
*/ | |
(function() { | |
'use strict'; | |
PluginManager.registerCommand('CallInterpreterMethod', 'COMMAND_SAMPLE', function() { | |
console.log(this.eventId()); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
プラグインコマンド内でGame_Interpreterのメソッドを呼びたい場合は以下の手順で実行します。