I’ve several spells that inherit from a parent class. I’m looking to access to all of them and fill an array with it.
They are not actors placed in the world.
I found a way by creating object with “Construct object from class” and fill the array one by one.
If it’s possible i’d like to do this a
To be understood i’ll try to explain the context.
I want to display a widget for each spell (i think they have to be actors) in a menu like a grid panel.
The player select like 5 out of 50 for exemple.
I need to place blueprint classes (spells) in a first array to display widgets and then a second array after the player selection.
One array for all the spells wich are blueprint actors.
I need to place blueprint classes
(spells) in a first array to display
widgets and then a second array after
the player selection.
So now we have many arrays. The plot thickens!
I don’t understood what’s stopping you from doing what you’ve just described. Spawn an actor of the class you want and add it to an array of parent type. You can then append arrays once you’re ready with the selection.