Skip to content

Instantly share code, notes, and snippets.

@triacontane
Created June 12, 2022 05:38
Show Gist options
  • Save triacontane/59f765f3438ad0725719e0ed3ff12bca to your computer and use it in GitHub Desktop.
Save triacontane/59f765f3438ad0725719e0ed3ff12bca to your computer and use it in GitHub Desktop.
プラグインコマンド呼び出し例
PluginManager.callCommand(this, 'Chronus','ADD_TIME', {"time":"12"})
@triacontane
Copy link
Author

triacontane commented Jun 12, 2022

第一引数:this (Game_Interpreterのインスタンス)
第二引数:対象プラグインのファイル名
第三引数:プラグインコマンドのコマンド名(@command)
第四引数:プラグインコマンドの引数(@arg)をプロパティとしたオブジェクト

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment