Like the titles says, I need an event to reset without player interaction when the player leaves the map.
The first picture below is the event I have for one of the mushrooms that can randomly appear on a map in my game. If the random # roll is less than or equal to 10, the mushroom spawns, otherwise it is erased. If it spawns, the player must interact with it to harvest it, thus causing it to be erased (otherwise it stays on the map). I don't want this mushroom to be persistent on the map (because it's a rarer item in my game), so I would like for it to be removed when the player leaves the map and be forced to try to respawn when the player returns to the map.
I've tried using events to get the mushroom to disappear by using a global switch when they player touches the move-to-different-map-event (causing the player to move to a new map area) to trigger a 3rd event sheet (picture below) and turning the global switch off as an auto-run when the player returns to the map, but that doesn't seem to work every time.
Am I going about this the wrong way? Is there any way to reset the event like I need it to without scripts? Or are scripts my best option? If so, does anyone have a lead on a script that can do that?
Edit: I am using an autorun event elsewhere on the map to determine if the mushroom spawns. Also, I don't want it's spawn as a one-time-event. I could set it to a blank event if that was the case, but unfortunately, I want it to respawn so players can possibly stumble across more in the same *general* area.
The first picture below is the event I have for one of the mushrooms that can randomly appear on a map in my game. If the random # roll is less than or equal to 10, the mushroom spawns, otherwise it is erased. If it spawns, the player must interact with it to harvest it, thus causing it to be erased (otherwise it stays on the map). I don't want this mushroom to be persistent on the map (because it's a rarer item in my game), so I would like for it to be removed when the player leaves the map and be forced to try to respawn when the player returns to the map.
I've tried using events to get the mushroom to disappear by using a global switch when they player touches the move-to-different-map-event (causing the player to move to a new map area) to trigger a 3rd event sheet (picture below) and turning the global switch off as an auto-run when the player returns to the map, but that doesn't seem to work every time.
Am I going about this the wrong way? Is there any way to reset the event like I need it to without scripts? Or are scripts my best option? If so, does anyone have a lead on a script that can do that?
Edit: I am using an autorun event elsewhere on the map to determine if the mushroom spawns. Also, I don't want it's spawn as a one-time-event. I could set it to a blank event if that was the case, but unfortunately, I want it to respawn so players can possibly stumble across more in the same *general* area.