Filling and array of pointers from blueprint.

Hello unreal community, I have a simple question:

If we have an array of pointers to a base UObject class “Item”, how can we assign derived c++ clases to it from blueprint? Or same thing, assigning spells to a character blueprint(Array of Spell pointers)?

Hey there,

If you have an array of Item pointers, any pointers to objects of an item subclass can be placed in there as well. :).

Well I know that. The question is how you add objects in it from blueprint ? You can easily modify an int or an float, but how do you add 3 items to such an array ?

Get a reference of the “Item” in your scene with LineTrace/Overlap/OtherWays and call .Add(Item) on it.
Your question is pretty vague ):