Can't destroy actor that's in an array.
I'm trying to figure out why I can't destroy an actor that I've added to an array. In the Actor blueprint, I use the OnBeginPlay node to cast to the GameMode blueprint. From there I add it to an array that I've created in the GameMode blueprint [Image Attached].
In the GameMode blueprint I've got a custom event that I call from my Player character blueprint. It's supposed to destroy the first actor in the array. But I get an error that says it finds "Null". Even though it's added to the array. It can't find the first index for some reason? I'm hoping someone can help me out here! [Image Attached]
asked Apr 21 '18 at 03:45 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here