Jump to Label

Discussion in 'JS Plugin Releases (RMMV)' started by Shaz, Jan 14, 2018.

  1. Shaz

    Shaz Veteran Veteran

    Messages:
    35,086
    Likes Received:
    9,626
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    Jump to Label
    2018.01.14
    by Shaz

    Introduction
    This plugin provides a more flexible Jump to Label command, where the label can be the result of a formula.

    How to use
    Add plugin to your js/plugins folder - name must be Shaz_JumpToLabel.js.
    Add to plugin manager and set parameter for case sensitivity.
    Enter JumpToLabel as a plugin command, followed by the label, which can be the result of a formula.
    I suggest adding some sort of catch-all after the plugin command, just in case the label couldn't be found - another JumpT o Label (actual event command) to go back to a previous point, or an Exit Event Processing command.

    Example
    JumpToLabel $this._mapId - searches for a label with the current map number
    JumpToLabel $gameParty.leader().name() - searches for a label with actor names
    JumpToLabel $gameVariables.value(3) + $gameVariables.value(4) - searches for a label with the sum of whatever is in variables 3 and 4

    Plugin
    Download from pastebin
    make sure to save it as Shaz_JumpToLabel.js

    Credit
    - Shaz

    Terms
    - free for use in commercial games
    - do not post elsewhere - link back to this page

    Notes
     
    #1
    vap0re0n and Leon Kennedy like this.

Share This Page