This image shows a Blueprint inside the GameMode, where I spawn a BP class, get variables from it, and send information back to that BP.
I want to spawn the BP class when a certain event happens, and then destroy it once it reaches a specific point.
When I spawn the BP, I can get the variable using the return value, but since Destroy Actor cannot take a class reference, I can’t call it whenever I want.
Is there a way to execute Destroy at any time and remove a specific spawned BP?