Sorry for bad wording here. Trying to explain as much as I can.
I’m trying to spawn a DM (Destructible Mesh) object after destroying another DM.
Here’s what I’ve done.
1: Create Static Mesh
2: Create Destructible Mesh
3: Create Blueprint From Destructible Mesh
4: Spawn Destructible Mesh Blueprint in game on “Event BeginpPay” (Inside of my gamemode blueprint) (this works)
5: Destroy Destructible Mesh and have another spawn (this doesn’t work)
That’s it! That’s all I want to do. But Unreal isn’t letting me target this for some stupid reason. I’m having issues calling my destructible mesh because I can’t seem to figure out a way to get it to spawn.
I want to destroy a destructible mesh that I’ve created a blueprint for. After it gets destroyed I want it to spawn another one. However, I can’t seem to figure this out.
SO… When I go into my level blueprint and try to figure out a spawn script to get these destructible meshes to spawn, i can’t get the BindEventOnDestroyed to target anything except for “self” and I can’t seem to figure out how to get this.
Could Someone help me spawn a destructible mesh after destroying another one?
When using “Bind Event To OnDestroyed” it will only reference its “self” as seen here.
However you can see here it’s not actually referencing the right actor. since this has to be in my level BP right?
What it seems like it wants me to do is to put this script in the object blueprint. So I tried that. I’m stuck lol. I just keep taking steps backwards.
This is the object I want to destroy. This spawns when the game starts. Works just fine. However, I want to destroy this object in game and have it spawn a second, third, fourth, etc.
So I tried to go into the DM Blueprint I created for my destructible mesh to have this spawn another object. Now obviously, this is wrong. . Since it’s not working haha. But I wanted to show what I’ve done. I’ve also tried to do this in my level BP but I can’t seem to figure it out there either. So I either need to call this spawn in my DM BP, or my level BP, and I can’t seem to figure out how to get it to work in either.
**
Maybe someone make a box or a quick DM and run me through this? After destroying a DM, it spawns another DM.**