Instead of just dragging health pickups into the level and having a set amount of health pickups for the entirety of a single game, here’s how I created a respawn system for the health pickups so that they deactivate after being picked up and reactivate after a certain amount of time. A way to improve this even further would be to create a system similar to enemy spawning that spawns a set amount of health pickups in random locations across the map, possibly even decreasing the amount of health pickups allowed every wave to increase difficulty.
Here is the code in the event graph:
Here is the code in the disable pickup function:
And here is the code for the activate pickup function that is called at the end of the timer: