Script Call Plugin Commands (YEP)

From Wiki
Revision as of 14:01, 30 October 2019 by Yanfly (talk | contribs)
Jump to navigation Jump to search


Welcome to the wiki! This is where you can find resources from, Æ,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.



This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.

Yanfly Engine Plugins

This plugin is a part of the Yanfly Engine Plugins library.


Have you ever came across the odd situation where you wanted to use a
Plugin Command during a script call or Lunatic Mode code? This plugin will
help facilitate the process in doing so by creating a new function for you
to use in JavaScript that will transcribe the Plugin Command string and run
it during a script call.

Script Calls


Script Calls are event commands that are used to run JavaScript code during an event to call upon unique functions, usually added by the related plugin.

Here is a list of Script Call(s) that you may use:

The script call to run plugin commands from script call is as follows:

  - Replace 'str' with the Plugin Command you wish to run as a string.


  var line = 'GainGold 1234567890';

This will run the plugin command 'GainGold' from YEP_CoreEngine and give the
player 1,234,567,890 gold.


Not all plugin commands are compatible with script calls. What do I mean by
this? Well, certain plugin commands (for example, adjusting wait times)
will not necessarily work together with this method. This is due to the way
JavaScript works itself as all code inside a function and called functions
are instantaneous.


Version 1.00:
- Finished Plugin!