Save-Point
DoubleX_RMMZ_Custom_Script_Calls - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Plugins and Mods (https://www.save-point.org/forum-74.html)
+---- Forum: RPGMaker MV/MZ Engines (https://www.save-point.org/forum-120.html)
+---- Thread: DoubleX_RMMZ_Custom_Script_Calls (/thread-8171.html)



DoubleX_RMMZ_Custom_Script_Calls - DoubleX - 09-21-2020

Purpose
Lets you set new script calls as old ones with some arguments bound

Introduction
Code:
*      1. Sometimes, some script calls always have the same argument values
*         used again and again, and defining new script calls as calling old
*         ones with some argument values already defined can be favorable
*      2. With this plugin, you can effectively apply partial applications to
*         script calls without the restrictions of always predefining the
*         first arguments only

Video


Games using this plugin
None so far

Parameters
Code:
* @param newScriptCalls
* @type struct<NewScriptCall>[]
* @desc Sets the list of new script calls
* They're existing ones with some argument values already set
* @default []

Plugins:
1. DoubleX RMMZ Enhanced Codebase
DoubleX RMMZ Enhanced Codebase
Abilities:
1. Little RMMZ plugin development proficiency to fully utilize this
   (Elementary Javascript exposures being able to write beginner codes up to 300LoC scale)

Author Notes
Code:
*      1. If multiple new script calls have the same name, the one having the
*         lowest ordering in newScriptCalls will be used
*         (Search tag: Last_In_Duplicate_Script_Calls)
*      2. (Advanced)DON'T REDEFINE EXISTING SCRIPT CALLS UNLESS YOU REALLY
*         KNOW WHAT YOU'RE TRULY DOING

Terms Of Use
Code:
*      1. Commercial use's always allowed and crediting me's always optional.
*      2. You shall keep this plugin's Plugin Info part's contents intact.
*      3. You shalln't claim that this plugin's written by anyone other than
*         DoubleX or my aliases. I always reserve the right to deny you from
*         using any of my plugins anymore if you've violated this.
*      4. If you repost this plugin directly(rather than just linking back),
*         you shall inform me of these direct repostings. I always reserve
*         the right to request you to edit those direct repostings.
*      5. CC BY 4.0, except those conflicting with any of the above, applies
*         to this plugin, unless you've my permissions not needing follow so.
*      6. I always reserve the right to deny you from using this plugin
*         anymore if you've violated any of the above.


Contributors
Code:
*      Authors:
*      1. DoubleX
*      Plugin Development Collaborators:
*      - None So Far
*      Bug Reporters:
*      - None So Far
*      Compatibility Issue Raisers:
*      - None So Far
*      Feature Requesters:
*      - None So Far

Changelog
Code:
 *      { codebase: "1.1.0", plugin: "v1.00b" }(2020 Dec 2 GMT 0700):
 *      1. You no longer have to edit the value of
 *         DoubleX_RMMZ.Custom_Script_Calls.PLUGIN_NAME when changing this
 *         plugin file name
*      { codebase: "1.0.2", plugin: "v1.00a" }(2020 Sep 20 GMT 1400):
*      1. 1st version of this plugin finished

Download Link
Download Link

Demo Link
Demo Link


RE: DoubleX_RMMZ_Custom_Script_Calls - DoubleX - 12-02-2020

Updates
Code:
*      { codebase: "1.1.0", plugin: "v1.00b" }(2020 Dec 2 GMT 0700):
*      1. You no longer have to edit the value of
*         DoubleX_RMMZ.Custom_Script_Calls.PLUGIN_NAME when changing this
*         plugin file name