Actor only spawning once

One quick question. Why are you destroying the Pickup Actor and trying to respawn it from Level Blueprint? Can you consider using the below workflow?

1: Create a new boolean variable called bAmmoPickedUp in your pickup class.

2: Create a new function called OnRespawn in your pickup class.

3: When the Character overlaps this item, first check if bAmmoPickedUp is true. If it is not then set bAmmoPickedUp to true, hide the pickup mesh and play particle effects (if you have any)

4: Set a timer to call OnRespawn function.

5: In OnRespawn function, unhide the mesh and set bAmmoPickedUp to false.

I’ve set up my actor so when the player walks over it it will give the player ammo and destroy itself. In my map blueprint I have set up the actor to respawn 10 seconds after it has been destroyed using the blueprint bellow

At the start of the game the actor is called AmmoPickup

89571-start+of+game.png

But after the actor respawns it changes the actor name to something different and the respawn doesn’t work anymore

89572-after+respawn.png

How do i get it so that the actor will contiune to respawn until the end of the game

I started using unreal about 5 days ago for a college project and have very little if any knowledge of unreal could you make an example so i can see what you mean

Update: Thank you so much this works