Script Call Plugin Commands (YEP)
Jump to navigation
Jump to search
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.
Download
System
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.
Introduction
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: CallPluginCommand('str'); - Replace 'str' with the Plugin Command you wish to run as a string. Example: var line = 'GainGold 1234567890'; CallPluginCommand(line); This will run the plugin command 'GainGold' from YEP_CoreEngine and give the player 1,234,567,890 gold. ------- WARNING ------- 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.
Changelog
Version 1.00: - Finished Plugin!