- Joined
- Jun 21, 2018
- Messages
- 39
- Reaction score
- 16
- First Language
- BR Portuguese
- Primarily Uses
- RMVXA
Hello.
I have made a system where enemies in-map respawn after the player dies/interacts with a "bonfire".

These commands check if the "Respawn" switch (which is turned ON after the player dies or interacts with a "bonfire") is on and then reset the enemy event to its default.
This causes all enemies in the map where the player died and all enemies in the map where the player rested at a "bonfire" to respawn. Problem is... what happens to the enemies in the middle?
This video illustrates it:
As it's shown, the player kills all enemies in Map 1 and 2, then dies in Map 3. This death triggers the parallel process-common event that activates (then quickly deactivates to avoid infinite respawning) the Respawn switch, resetting all enemies in both the map where the player died and the map where they respawned in. But all the enemies in the middle map stay dead instead of properly respawning.
The same problem occurs after resting in the "bonfire". If you kill enemies in Map 1 and 2, then rest at the "bonfire" in Map 1, only the enemies on Map 1 will be respawned, enemies in other maps won't because the switch hasn't been triggered in their maps.
I've been thinking a lot about this and would deeply appreciate any ideas!
I have made a system where enemies in-map respawn after the player dies/interacts with a "bonfire".

These commands check if the "Respawn" switch (which is turned ON after the player dies or interacts with a "bonfire") is on and then reset the enemy event to its default.
This causes all enemies in the map where the player died and all enemies in the map where the player rested at a "bonfire" to respawn. Problem is... what happens to the enemies in the middle?
This video illustrates it:
As it's shown, the player kills all enemies in Map 1 and 2, then dies in Map 3. This death triggers the parallel process-common event that activates (then quickly deactivates to avoid infinite respawning) the Respawn switch, resetting all enemies in both the map where the player died and the map where they respawned in. But all the enemies in the middle map stay dead instead of properly respawning.
The same problem occurs after resting in the "bonfire". If you kill enemies in Map 1 and 2, then rest at the "bonfire" in Map 1, only the enemies on Map 1 will be respawned, enemies in other maps won't because the switch hasn't been triggered in their maps.
I've been thinking a lot about this and would deeply appreciate any ideas!
Last edited:









