Trying to make an add if not array macro

Is this possible, I added a length check on the array but it keeps coming back as 0 inside of the macro. Im using wildcard variables so its dynamic. Something im not getting here?

it looks correct to me, must be an issue with something else, maybe the variable ground attackers itself, or the variable you are adding, or maybe the way you are calling the macro, can you post more screenshots of your blueprint?

Doesn’t that suggest you are not reaching add?
If the array is growing then perhaps you should be casting to a base type.for the contains test.

After a night of sleep I if figured out that my len > 0 check that I added for some reason was the culprit, macro would fail due to array never growing in size
![alt text][1]