Adding and removing actors from an Array?

Walking atop the boxes, as I need to
happen, the “On Component Hit” doesn’t
do anything.

I was under the impression you already had destroying mechanics in play since the stripped boxes were exploding - I’m not suggesting a new method; use what you’ve got. I was merely suggesting a way to count.

The Set node is just a Set node - it’s an integer variable, it keeps the track of the number of boxes left. You can get / set variables:

Which is equivalent to reading / writing data.


Were I to suggest an interaction method for destroying actors we stepped on, I’d probably opt for attaching a smallish sphere collision to where player’s feet are and use on END Overlap:

Image from Gyazo

1 Like