Box Trigger Question

I’m trying to get a box trigger to work. I want it to trigger when the player with the box trigger (who also has a capsule collider and rigidbody) fires his weapon. Then everyone inside the box collider will head towards his location.

I know I can use OnCollisionEnter, but wouldn’t that apply for everything? I just want to make it so the box triggers on its own, nothing else. Anyone know some super basic code to get me going with this? I have no idea where to start =/.

Thanks

nevermind… I figured out the concept. I just needed to comprehend the fact that the OnCollisionEnter can have multiple collision if statements. It doesn’t just need to apply to one scenario.