Im trying to make a common event that involves needing script calls and labels, does anyone know what to do here?
Jump to label using a script
RPG Maker MV SupportI would take the "if ..." out of the Script box.
Do the event commands:
Conditional Branch -> Script ->
--Script ->
Else
--Jump to Label
You could also look up what the function for Jump to Label is (it would be right in the MV script call list that's pinned in the JavaScript forum), but frankly this seems easier to me.
Do the event commands:
Conditional Branch -> Script ->
!$gameVariables.value(49)[7]--Script ->
$gameVariables.value(50).splice(7, 1, 1)Else
--Jump to Label
You could also look up what the function for Jump to Label is (it would be right in the MV script call list that's pinned in the JavaScript forum), but frankly this seems easier to me.
good idea, i never thought of that, thanks
this.command119(["label name"]);Edit: Oh hold on. That's for MZ. Lemme double check MV...
Edit2: Yep, it's the same thing.
Original thread: https://forums.rpgmakerweb.com/threads/jump-to-label-using-a-script.151355/