How can I create a variable that can hold all children of a blueprint?

Here is an example:
I have a blueprint called “Ammo_Base” that has two children: “Ammo_type1” and “Ammo_Type2”.
I also have a Gun blueprint that can hold ammo.
So I created a variable called “ammo” of type Ammo_Base.
However, it seems I cannot populate this variable with Ammo_Type1 or Ammo_Type2.
Only Ammo_Base.
So my question is, how can I create a variable that can hold all Ammo_Type?

Hey @ZZZ0mbieSSS!

So your example should work just fine, as long as they really are children. Can you provide some screenshots? Just so we might be able to notice anything weird? :slight_smile:

1 Like

Thank you for your answer Mind-Brain
It seems I didn’t compile the BP. Today morning I tried it and ot worked juat fine. I feel stupid.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.