How do I get my Pickups to come back after a set time?

I have been looking at a lot of tutorials and all have there own ways of producing ‘Pickups’ but in the end they all use Destroy Component or Destroy Actor. This is great, This works a treat I can walk over any of my pickups and they disappear.

BUT… I cant for the life of me seem to find a way to get them to come back. is a UNdestroy thing. lol (I know that isn’t a real word) I am just trying to figure out how to get it to bring back the actors after a delay. cos even in the content examples with HUD example and the Health Pickup… it doesn’t come back. Please Help. this is a crucial stepping stone that needs resolve.

Any help would be greatly Appreciated thanks in advance.

Hi ,

You can try to set them to simply become hidden in game then unhide htem after a certain amount of time instead of destroying them. As an added level of protection to prevent users from activating them when they are hidden, set a bool while hidden and place a branch at the beginning of use that says “ifHidden == true, do nothing, if false, proceed”.

Thanks a lot. I am using the Toggle visibility and will incorporate the boolean check that you suggested. Thanks very much for the help! :slight_smile:

On the child BluePrint remove the Destroy Actor function after the Print String function and replace it with a Delay and a Spawn Actor from class node

pretty awesome blueprint there… that might come in handy… but i have received my answer already :stuck_out_tongue: but this is some handy stuff too… will be able to use this! cheers!

Sharing is caring :slight_smile: