TArray's in Delegate Declaration

Hey there, is there some kind of special voodoo magic to get a TArray of items work with Delegetas?
I can declare stuff and get no compiler errors. But when i try to assign stuff in the Blueprint Editor i get a blueprint compiler error as show bellow:

c4ea92cdd4ee6ecc1e458cf07794ba709c1c35d1.png

In this case its a custom ustruct. The delcaration as a single element works like charm… just tarrays wont work :S

Wrong forum.

why they are defined in c++ and exposed to bp the same thing in pure bp works… so please if you have nothing to say and be like tl;dr… dont comment thanks.

It is not that. It is just that you are asking about blueprints, even if you are asking why C++ works and not blueprints.

It would be better if you could ask someone in the Blueprints forums.

Another suggestion is that you linked to the wrong event data blueprint node. You need to find the right node type in order to get rid of the error.

Just if anyone else is struggling with that… make sure to pass a constant reference

3 Likes

Thank you ruohki, it works like a charm!!!

1 Like