Afterlife Area?

I'm an MV user and i'm trying to figure out how to make an "Afterlife" area that you get teleported to after you lose to an enemy\boss fight (just like how it is in Hylics 1 and 2)

i'm guessing scripts need to be done according to a friend, but i really don't know how to use or make scripts in MV,, i was thinking variables would do the trick but still cant figure out how bc i know there's gonna be so many switches or control branches ;-;

but anyway if there are any plugins, tutorials or tips, please let me know! thank you^^
i'm guessing scripts need to be done according to a friend
You use plugins to modify the MV's default behavior. older engines called them scripts, but MV/Z calls them plugins. Script within MV/Z generally refers to the little bits of javascript you manually run through script boxes from event commands

that being said. you can give this a shot.
See if you can get it to play a common event to take the player to the afterlife area instead of issuing a game over
Okay, first you make that after-life map, like any other map.

Now, when you trigger the boss battle in an event, check "can lose".
1727217733279.png


Now, in the event, you see there is 2 spaces below, one where you can put what happens when you win, and one where you can put what happens when you lose, instead of the game-over screen.
1727217768379.png


In that last space, you create a transfer to the after-life map.
Now, when you trigger the boss battle in an event, check "can lose".
that works for battles triggered by events, but by them saying enemy/bosses, id assume they want it to work for random encounters too, which you dont really have control over
Oh, yeah, this is mainly for evented battles. I thought that was the case because they mentioned bosses. (Since bosses random encounters are just a bad idea, right?)

But yeah, for evented enemies only. So hopefully you're like me and event all your battles. (Well, I event them once, and then copy-paste them all over the place.)
Oh, yeah, this is mainly for evented battles. I thought that was the case because they mentioned bosses. (Since bosses random encounters are just a bad idea, right?)

But yeah, for evented enemies only. So hopefully you're like me and event all your battles. (Well, I event them once, and then copy-paste them all over the place.)
your tutorial was still very useful,, thank you so much ^^

Original thread: https://forums.rpgmakerweb.com/threads/afterlife-area.172132/