BP variable link to another BP

Hello, can you help me please. I need to make event without touching third person controller BP. I got three destroyable objects on location (they are the same BP), and after destroying them I need to close the door and spawn enemy. I tried to make variable equal 3 in Level BP, and make -1 every time when object was destroyed. And start event when variable will be equal 0, but I can’t understand how can I change Level BP variable from BP of destroyable object. Maybe it must be link to that variable, but I don’t know how can I make this link. Can you help me please? :slight_smile:

1 Like

There are many ways to do this.

  • right click the actor in the scene and add the onDestroyed event:

image

If you do it for all 3, you could end up with this:


This would work for 3 or 10. If you need count to 300 destroyed objects, there are better ways.