Dungeon Quests

Hi there,

friends i encountered a problem and i believe im just to stupid to see the answer lol Ive been looking for a couple hours now on the forum etc and google but couldnt find what i was looking for...

Ive build a massive dungeon with a quest-giver right at the begining when entering the dungeon.
The Quest giver gives you a quest that spawns enemys -> kill 5 enemys -> quest done

however:

what i want:
I want to be able to accept the quest and
>if
leave the dungeon
> lose the quest.
stay in dungeon,-> finish quest,-> get reward and re-enter the dungeon
> be able to accept already done quest again.

Basically everytime you enter the dungeon, you can accept the quest. however if you leave the dungeon before completing the quest, the quest disappears from your questlog. If you complete the quest->leave the dungeon-> re-enter the dungeon -> the dungeon is as if you never entered. I want people to be able to farm rare materials in this dungeon. The quest spawns additional enemys to make it harder but more rewarding. How can i do it that the dungeon basically resets every time someone enters it.

thanks!!!! Im looking forward for any responses
What quest system you are using? Most quest system have a "Forget quest" script call. In the teleport to leave the dungeon you can just check if the quest in done, if not them forget it.
What quest system you are using? Most quest system have a "Forget quest" script call. In the teleport to leave the dungeon you can just check if the quest in done, if not them forget it.

Im basically my 15h day in this whole stuff... right now Im using the build in mechanics aside from some plugins to change screen ratio.

Is there any plugin/skript that you can recommend me? (tpoic unrelated as well)

sidenote: I already kinda fixed the problem but its timeconsuming since i have to assign a switch to every enemy in the dungeon as well, to make it re-appear when entering the dungeon ( which is simply "turned on when killing the enemy" and "turned off when leaving the area"... so my enemies reappear- even tho i killed them + my quest giver can give me the quests- i can accept all quests every time I re-enter (but each quest only ones so i cant stack the same quest 5x)
OK! I tought it was a plugin. Glad it's working.

A Plugin recomendarion? Perharps this, but since you still don't domain the maker yet, is better to stay away from complex plugins.

I'm not sure I got the problem, but if the dungeon is only one big map you could try using variables. Just set the variable to -1 when you enter the cave and when you get the quest set the variable to 0. Set the enemies condition to Variable 0+ and when you defeat them just delete the event and add 1 to the variable. When the variable hit 5 you talk with the npc.

PS: When you delete an event he respawn if you leave the map and come back.

Original thread: https://forums.rpgmakerweb.com/threads/dungeon-quests.92920/