If you die three times, then this happens?

We have some levels that contain traps that can kill you. Fear is they will be too hard for some players to get past. We want to give them an option after their second death to have all traps in map disabled.

Any variables out there that can compute when a death on the map occured (not battle screen)
variables don't work that way.

your event has to check and record when a death occurs - that check or record is never automatic.
and then any and all variables can be used for this because that is their function - to store the info you decide to place into them and make it available for your later checks.
@fizzly Your link does not seem to be working, at least it didn't work for me. When I typed it in manually it took me to a discussion about using variables that transfer between save games, which doesn't on the face of it apply to the OP's question. Could you clarify please.
I though that you can use variable as a death counter and in new game the variable still keeps tracking.
I think you can use a plugin that uses variables across different save files, in your case, a variable that stores a value even after game over.
If you game over is by events, you can use a simple variable.
If not, after game over, the Mv redirects you to the title screen and after you load the game, the variable will be the value it was before the game over.
So, using a plugin like himework have, (MetaVariables... Or SyncVariables... Something like that) can help you with the track of number the player dies.
How about making it so that the player never actually dies? And run HP via a variable. When reach 0 you count 1 on another variable? Just a idea 🙂 That way you can run whatever end screen/options you want too
As this needs to override the default behaviour, it's going to need a plugin.

Moved to: JS Plugin Requests
@fizzly The point being that the OP is not seeking variables to carry over into a New Game, but continuing in an existing playthrough.
Hey guys, still here, got very busy at work. Interesting idea seeing if there is a way to count times HP reaches 0.

Surprised this has not been asked before. Again, extremely busy with work so did not research much before posting this thread.

Original thread: https://forums.rpgmakerweb.com/threads/if-you-die-three-times-then-this-happens.117108/