Spawned Actor Removal / Replace
I have a slight issue which I hope I can get some help with. I want to spawn objects via buttons which I have working. Basically if I click the same button twice that object will spawn twice on top of each other.
I guess I am stuck on the type of if statement I would need to check whether that actor has already been spawned and either leave it or delete.
Appreciate any help.
asked Dec 04 '16 at 04:16 PM in Blueprint Scripting
By the looks of it, it looks like you are spawning an actor, but as soon as you are destroying it, which makes it look as it nothing is happening. This script will make the button spawn the actor, and then destroy it on the next click. Hopefully, that is what you want to happen.
answered Dec 04 '16 at 04:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here