How Can I Complete an Array Contains Function on a Structure Array?

Hell All,

Is it possible to successfully complete an Array Contains function on a Structure Array from a different Structure Array?

In other words -

I pulled out a structure from Array ‘A’ and then break that structure to get an actor. I want the use that single component, the actor, to see if it is also contained in Array ‘B’. Array ‘B’ also contains an actor component of its unique structure.

My goal is to get a yes/no Boolean out of it and then, of course, have an action occur or not.

Thank for any help in advance.


EDIT: Here is an image of what I’m trying to do. Thanks, again.

A few month’s later and I have not been able to find a good answer for this.:frowning: Has anyone else ran into the same trouble? Or better yet a work around?

I’ve tried using a loop function on the location of the object with success but with up to 10,000 objects in my game this is not practical.