How do I get a list of all blueprint classes, that are a child of a specific blueprint at runtime?
How do I get a list of all blueprint classes, that are a child of a specific blueprint, at runtime?
For example: Say, I have a Blueprint called: "Parent" Parent has 3 child blueprints, called "ChildA", "ChildB", and "ChildC"
Is there a way to add those three child classes to a class array dynamically at runtime?
asked Oct 10 '14 at 07:00 PM in Blueprint Scripting
I have been looking for a way to do this as well and unable to find a solution, but have found a decent compromise:
If you add an array of the Parent type to a Blueprint (say, your Controller), you can go into the Defaults tab of that Blueprint and fill the array manually there using the dropdowns. It's faster and cleaner than doing it with Event Graph nodes.
:X Why don't you add them before runtime? Just make a Class Array and add these 3 per hand.
I don't think you can get classes of nonused BPs. :/
answered Oct 10 '14 at 10:03 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here