Can't communicate with parent of child blueprint from another blueprint.

coosadog
Tue, 27 Jul 2021 14:53:11 +0000
UI

I’ve been trying to figure this out for 2 days and nothing works. I started with a big blueprint in my game but now I’ve coded a small example of the problem. I have a table with a candle on it that can either be lit or unlit. I have a light parent blueprint and the candle is the child of it. The table is the main blueprint and looks like this:

So, there are events in the parent blueprint for the candle. At first I thought that I could just call those functions inside the table blueprint, but they don’t even show up there, even though I have a refernce to the child. Why can’t I execute an event in the child’s parent from the table blueprint? Are those events not inherited by the child? That doesn’t make sense to me. So, I thought, I’ll just do an interface to do this. I did that and I do have references to the interface functions in the table blueprint and I can code it all up but when I run it, it doesn’t call the parent interface functions at all. So, I guess I have 2 problems that are similar. 1)Why don’t the parent events/functions show up in the table blueprint? 2)Why, when I call the interface events do they not execute in the parent blueprint? This seems so simple and common but I can’t make it work… frustrated!

5 posts - 1 participant