I want to know if a character owns a certain item.
I have been trying it using a box collision and the event “component begin overlap”.
So far I have managed to differentiate the objects using the tags.
This lets me know if it’s a red cube, a blue cube, a green pawn, or a yellow pawn. (But only one at a time)
However I want to know for example.
If a green pawn has a blue cube… or if a yellow pawn has a red cube when it arrives at the checkpoint.
That is, I need to know the tags of the severals actors at the same time in a specific location. (Or another method that allows me to do this).
How can I do it?
Thank you so much!!
Note:
I am attaching the cubes to my pawn using “scene components”