Jump to Label
Jump to Label2018.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
本贴来自国际rpgmaker官方论坛作者:Shaz处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/jump-to-label.89885/
页:
[1]