Hey guys,
I’m very new to blueprint editing.
I try to spawn only one object by pushing the button and destroy it by the same button. So that you always have one instance of that object in the game.
Thanks in advance.
Best regards.
Hey guys,
I’m very new to blueprint editing.
I try to spawn only one object by pushing the button and destroy it by the same button. So that you always have one instance of that object in the game.
Thanks in advance.
Best regards.
You should check out some tutorials if you’re completely new. Tutorials from epic “Blueprint introduction” should be a good start.
The idea for your system would be to flip-flop (a particular node that does one thing, then the other, then the first one so on and so forth) into a “spawn actor from class” when pressing a specific button (input - x) and then store the actor that was just spawned. Then in the flop destroy the actor you stored in the flip.
That works perfectly. Thank you very much.