How do I create a Boolean list / index / array to track the recent player character that enters my Trigger Box on ComponentBeginOverlap?

I thought I only saw character names in the cast festival. But okay, let’s imagine there’s also an explosive barrel. So the solution to the problem of how to assign targets to characters and not characters would be an interface… or not, because if they’re going to share a lot of code, you could use a component, search for it by tag, and access it with an interface. Or are you going to repeat the same code in all the targets? Also, characters with inheritance could inherit the component. But in any case, the way of communicating with the targets is still not the solution to their problem.

1 Like