So I was going to add a couple stealth mission parts to my game but I am having trouble getting it to work in the sense where once an enemy sees you, it's automatically game over.
Game over upon being seen?
RPG Maker MV SupportThar be an event for that! Check on the third page, in the first block (Scene Control), second from the bottom! I don't know what you're using to track when the enemy spots you, though, so that's the best I can offer right at the moment.
No worries - I gloss over simple event commands all the time... Then of course, I ask about how to do something and someone gives me a screenshot with the button circled and I'm like "but... but... I looked at that page at least fifteen times! Where was it then?!"
there are scripts/plugins for "line of sight" functions, and even a tutorial for that if I remember correctly - but I don'l have links, you'll need to search for "line of sight" yourself, that should be the correct keyphrase
they also exist for MV, with exactly that name and here on this website - I just don't have the link from where exactly I downloaded the plugin
http://yanfly.moe/2015/10/21/yep-20-event-chase-player/ also includes calling a common event and a line of sight limitation
I created a simple line of sight plugin not sure if it is what you are looking for.
It triggers self switch A after the player is seen by the corresponding event which can allow you to set a gamover on page 2 of the event with the condition self switch A is on.
It triggers self switch A after the player is seen by the corresponding event which can allow you to set a gamover on page 2 of the event with the condition self switch A is on.
Original thread: https://forums.rpgmakerweb.com/threads/game-over-upon-being-seen.69508/