CallCommonEventByName
Creator name: Mokusei Penguin
Overview
Plugin command that calls Common Event by name.
Features
Use "Plugin Command" to call the name of a common event
For example- CallCommon [insert common event name]
Calls the common event name "arg1"
※ About CallCommon
Since it's called by Common Event name, there's no need to modify even if the ID changes.
If there are multiple common events with the same names, the most recent will be called.
(This includes deleting the previous event, if you create a new common event of the same name, you can overwrite it.)
Credit and Thanks: Mokusei Penguin
Terms of Use- Free for commercial and non-commercial use.
License - MIT License:
http://opensource.org/licenses/mit-license.php
Code:
You can download js file from the thread attachment or Dropbox link:
https://www.dropbox.com/s/ee4swtzvt41j56s/CallCommonEventByName.js?dl=1
本贴来自国际rpgmaker官方论坛作者:ovate处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/call-common-event-by-name.91420/