How to make appear "Game Over" screen appear when...

... there's a situation like this. I'll try to explain as best as I can

Spoiler
IfUSTeM.png



Sw6c6AS.png


Cdi8nM1.png

What I have to do??? Where I was wrong??? Please help me... I'm desperated with this thing ))):
By default, Gameover will only happen if all actors are dead.


However, in your case there is a simple solution: in the events where the main actor looses HP, simply add a conditional branch to check the HP and use the event command game over if it's zero.
Besides that everyone in the party has to be dead to trigger GameOver, I recommend to not even make floor damage being able to kill anyone completely.
Andar

I've tried... the problem is...where' exactly the Conditional Branch that talks about HP?

I mean, I looked for everything, and the second page that talks about the Actor the only options I see are those

Spoiler
ACkXyo7.png

I don't know...maybe it's me!

AkiraKotatsuhime

You say??? )):

EDIT: The fact is that, anyway, even if it's to 0 or 1 HP the issue about that the "HP disappearing" is still here.... and btw I really don't know how to do xD
You can simply use control variable to load the HP-Value of Actor 1 into a variable and then check that variable's value in the conditional branch.


However, from your screenshot: Did you erase state 001 or why is there no name?


You do know that by changing the state #1 and the skills #1 and #2 you can cause a lot of problems because those are required for specific functions by the engine?
Uuuuh, damn. Ok, please explain me a little that thing of variable because I've tried to check them out but I still didn't understand how to use, 


No no no, I didn't touch anything, I simply clicked on that voice at random there's actually no state or something else xP
On the event commands, first page.

Control variables.

Create a new one, set it's name to whatever you like.

Back on the control variables screen, go down to an area with the name, Operand.

Look for a section named "Game Data".

Click on the "..." and look for Actor. Then where it says 'Level", search for "HP".

This is the variable you will use in your conditional branch. "If hp is equal to or less than" zero, or just "Equal to". Put that conditional branch in a parallel process.

Should be pretty straightforward from there. Just make sure to add "Game over" command in that conditional branch.
Uuuuh, damn. Ok, please explain me a little that thing of variable because I've tried to check them out but I still didn't understand how to use,
Follow the first link in my signature to the "starting point", then look for the variables guide.
Variables are the most important part of the game engine if you want to make any more complex quest in your game, and you need to understand them.

No no no, I didn't touch anything, I simply clicked on that voice at random there's actually no state or something else xP
Yes, you did - because otherwise the name of the state would be automatically displayed there. Please open your game's database, go to the state tab and check the name of the stae #001 there - it needs to be the death state.
Ok Andar, I'll take a look... 

For the rest, seems that I did it!!!

Thank you so much you guys... I am free to make another quick question if I can? Maybe is something related to variables too.

So, I have that other Character, that use a skill called Omen. It's a kind of lucky Charm that, in a certain situation it has to make something happen.. for example

Spoiler
uIFypVG.png


qLqbwAA.png
Lucky's going up)

DQ4zHaj.png

Now, how can I explain? It's ok by that, but it have no sense at the same time. Because the time that I activated that switch and I used the Conditional Branch "When Omen is on" it will works for EVERITHING, every event related on that Conditional Branch it will have activated that Lucky Charm, but what if I want to use this Lucky Charm just for once at time to let the player be able to use when it needs and not make the skill seem usless because is activated for everything and not for just that thing that needs at the time?

Uuuh, I hope I explained well, I've tried my best!

Ps: If I can't I'll make a new post, I have no problem..
 
new problem = new topic, that'll keep the forum better sorted.


And if the skill should have different effects depending on where it is used, then it needs to check where the player is - you can't change that the general switch will effect the entire game, that's what the general switches are intended to do.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-appear-game-over-screen-appear-when.45245/