Download

Allow "Make Container" to specify a Type

Scenario:

I want to make an array out of variable sin my BP and iterate over it via a ForEach Loop.
However: The variables do not have the same Type, instead, they have a common Super Type.
The Make Array Node however always changes the Type if you want to plug something into it and this way I cannot plug variables into it that have a “Sibling Type”.

Imagine you have Actors of different Types: Pawn and StaticMeshActor and want to create a Make Array Node that takes Actors. You can’t plug both into it because the Make Array node automatically sets the type (although you want to have an Array of Actors instead of Array of Pawn or Array of StaticMeshActor)

Solution: Let Make Container Nodes have the functionality to specify the type. Funny enough: We can reset to Wildcard already.