need help hiding light from player camera in game

I am currently working on a project in which i want a point light to be visible to one player’s camera while invisible to another player’s camera as they will be using a flashlight to find the first player. it’s a kind of hide and seek thing and I want the hiding player to be able to easy find a hiding spot by giving them light while hiding the light from the seeker so it is more of a challenge to find them. what would be the best way to go about doing this? I’ve been working on this for like 2 hours and can’t figure it out. any help is appreciated so thanks in advance.

The easiest way that I can think of off the top of my head is to run a multicast that hides the light on play then you can run a client event that shows the light for anyone who can see it. You can drop the multicast in the owner of the light and drop the client event in the players that can see the light (if any). Then the owner can send a signal to anyone who can see it to call the client event. Theres probably something you can do with the engines built in relevancy too but that would ultimately require just as much effort imo. I’m on my phone at it’s like 1:30 a.m. so I cant send screenshots but if you need them I can tomorrow!

Ok, so I played around a little and am still stuck. If you could send me screenshots just to get me started. Also should I place the light within its own blueprint to set up the owner?

This is what I came up with.

If you’re running this in a player that already has an owning connection, you don’t need to put it in a separate actor.
Basically we run a net multicast that sets the light to invisible, then we run an event on the owning client to show it for anyone who can see it. Idk how you’re determining who can see the light and who can’t so you’ll have to replace that setup with something that works for you.
If the player can toggle the flashlight, you just call the client event for anyone who can see it and it should work.