Skip to content

Instantly share code, notes, and snippets.

@triacontane
Last active October 27, 2021 07:37
Show Gist options
  • Save triacontane/c99ed487fd0fbe59e7437ae6d1fce2c5 to your computer and use it in GitHub Desktop.
Save triacontane/c99ed487fd0fbe59e7437ae6d1fce2c5 to your computer and use it in GitHub Desktop.
スクリプトからのプラグインコマンド呼び出し例
const cpdArgs = {
character : '0',
valueVariable : String($gameVariables._data[1]),
setting: '{"reverse":"false","type":"HP","critical":"false"}'
};
PluginManager.callCommand(
this, 'CharacterPopupDamage' , 'POPUP_DAMAGE', cpdArgs
);
@triacontane
Copy link
Author

イベントコマンド『スクリプト』などから呼びます。

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