hello, I need a plugin.
I need help with adding a key (for example "R" or "F12") that will return the player back to the title screen when the key is pressed
that is basicly the same when pressing F5 (restart game) that also goes to
the title screen as well 🙂
with other words, it's default.
is there a way to change it?
it's possible, but I wont recommend any of the F-keys though,other than F5 or with
additonal button to letter "R" is doable, but why do you want it elsewhere?
if you have have ZE_Keymapper or other keymapper plugin, you can even make a
parallel common event.
if: input.IsTriggered("R")
Scriptcall: SceneManager.push(Scene_Title)
end
this is a very basic setup.
otherwise, if no parallel setup, this only need the scriptcall and use YEP_ButtonCommonEvent
and place the ID of the Common Event to the key you want to use it.
both ways works, else a tiny plugin can be used for the same effect.
why instead of title screen (if it goes there after cutscene) for skip cutscene plugin which
also exist or put this inside a cutscene on a parallel process to skip it for the same effect?
I dunno, I just prefer it, so does my friends, plus my cuscenes are pretty complex so im not sure how to do that
next to an autorun event that control an cutscene, you can create a parallel process
or common event in parallel with switch SKIP CUTSCENE
if: Switch SKIP CUTSCENE = ON
if: script: input.isTriggered("OK") (or isPressed) through the tab also possible.
scriptcall: SceneManager.push(Scene_Title); // or do SceneManager.push(Scene_GameOver);
Switch SKIP CUTSCENE = OFF // this might be optional, but required if custom gameover map scene
end
this way, you either skip it or show gameover screen which than direct you to the titlescene.
whatever you approach, the results are the same anyway.
just make sure