MZ Fast Forward increasing speed

Hi!

I am new to rpg maker, and have search for long time and didn't find a solution.
I don't know any js 🙁

Is it passable to make a pluggin to increase default Fast/Forward speed (when holding action button/z/space) from x2 to x4 or x5?

If there is existing pluggin for RMMZ please do tell.
Copy the below into a text editor, save as a *.js file, include as a plugin.
Code:
Window_ScrollText.prototype.fastForwardRate = function() {
    return 3;
};

That's the default function - change the number after "return".
That was fast! Thanks! Will try it.
If you're talking about the speed of the map update: (save as Dragon_CustomFastForward.js)

JavaScript:
//=============================================================================
// ** RPG Maker MZ - Dragon_CustomFastForward.js
//=============================================================================

var
Dragon                   = Dragon                   || {};
Dragon.CustomFastForward = Dragon.CustomFastForward || { VERSION: [1, 0, 0] };

/*:
 * @plugindesc [RPG Maker MZ] - Custom FastForward for community. (v.1.0.0)
 * @url http://dragonrefuge.net
 * @target MZ
 * @author The Dragon
 * @help
 * --
 *
 * @param enabled
 * @text Enabled?
 * @type boolean
 * @default true
 *
 * @param factor
 * @text Fast Forward Factor
 * @desc Fast Forward is activated by pressing 'ok' while an event is being processed.
 * @type number
 * @default 2
 * @min 1
 * @max 100
 *
 */

(($) => {
    //-----------------------------------------------------------------------------
    // * Plugin Definitions
    //-----------------------------------------------------------------------------   

    "use strict";
    const pluginName = "Dragon_CustomFastForward";
    $._params = PluginManager.parameters(pluginName);
    $.params = Object.assign({}, $._params);
    const parameters = $.params;

    parameters.enabled = (parameters.enabled === 'true');
    parameters.factor = Number(parameters.factor);

    //-----------------------------------------------------------------------------
    // Scene_Map
    //
    // The scene class of the map screen.

    const alias_Scene_Map_isFastForward = Scene_Map.prototype.isFastForward;

    Object.assign(Scene_Map.prototype, {

        updateMainMultiply: function() {
            let i = 0;
            const n = this.isFastForward() ? parameters.factor : 1;
            while ((i++) < n) this.updateMain();
        },

        isFastForward: function() {
            if (!parameters.enabled) return false;
            return alias_Scene_Map_isFastForward.apply(this, arguments);
        }

    })
})(Dragon.CustomFastForward);
Sorry, I misread and provided an edit for how quickly window text will print when fast forwarding. The above is correct for events on the map.
JorgeMaker's code is probably what you want in this case. The map update rate affects move routes, character animations, etc.

Turan's code will affect how much faster Show Scrolling Text travels while holding the action button. There's also a battlelog fast-forward rate: default 3x faster while action button is held.

Show Text has a similar "skip" behaviour that removes the default wait between characters.
OK, thanks!
I am making a cutsceen in one game moment it will repeat itself, so I want to skip it faster.

Also helps when I cheak how everything is working in the game. I don't need to read all dialogues 😀

UPD:
Movement did speed up, but I don't think it affected speed of dialog window appiering and disappearing
( I mean when two characters are chatting for example ).
I wish it came with a plugin command to change the rate in game, i wanna disable speedup during evented qtes that require holding z and releasing at the right time
which id do by changing it to 1
If you're talking about the speed of the map update: (save as Dragon_CustomFastForward.js)

JavaScript:
//=============================================================================
// ** RPG Maker MZ - Dragon_CustomFastForward.js
//=============================================================================

var
Dragon                   = Dragon                   || {};
Dragon.CustomFastForward = Dragon.CustomFastForward || { VERSION: [1, 0, 0] };

/*:
 * @plugindesc [RPG Maker MZ] - Custom FastForward for community. (v.1.0.0)
 * @url http://dragonrefuge.net
 * @target MZ
 * @author The Dragon
 * @help
 * --
 *
 * @param enabled
 * @text Enabled?
 * @type boolean
 * @default true
 *
 * @param factor
 * @text Fast Forward Factor
 * @desc Fast Forward is activated by pressing 'ok' while an event is being processed.
 * @type number
 * @default 2
 * @min 1
 * @max 100
 *
 */

(($) => {
    //-----------------------------------------------------------------------------
    // * Plugin Definitions
    //----------------------------------------------------------------------------- 

    "use strict";
    const pluginName = "Dragon_CustomFastForward";
    $._params = PluginManager.parameters(pluginName);
    $.params = Object.assign({}, $._params);
    const parameters = $.params;

    parameters.enabled = (parameters.enabled === 'true');
    parameters.factor = Number(parameters.factor);

    //-----------------------------------------------------------------------------
    // Scene_Map
    //
    // The scene class of the map screen.

    const alias_Scene_Map_isFastForward = Scene_Map.prototype.isFastForward;

    Object.assign(Scene_Map.prototype, {

        updateMainMultiply: function() {
            let i = 0;
            const n = this.isFastForward() ? parameters.factor : 1;
            while ((i++) < n) this.updateMain();
        },

        isFastForward: function() {
            if (!parameters.enabled) return false;
            return alias_Scene_Map_isFastForward.apply(this, arguments);
        }

    })
})(Dragon.CustomFastForward);
Necro-post notice: @azurezero If OP still needs this request, they can request it to be reopened.

Original thread: https://forums.rpgmakerweb.com/threads/fast-forward-increasing-speed.161520/