How to display other players location on a server

Hello guys, I have created an objective location marker using an actor and a widget, in this case the actor remains in a static location and the marker shows the distance to it on your hud, however I want to do it so that it displays the location of other players on the server as well, do I need to find a way to attach an actor to the character blueprint or is there some other way of doing it?

This needs to be server side code, only server knows locations of other players. So do it on server, replicate location of player to client side, then client displays location it got from server.

Right now I’m just trying to get a sphere to spawn on the other players head to test it, I done it to run on server but its still only spawning on the player I’m controlling

I put the event as run on server and reliable

See the macro that this guy makes at `4min in

You’ll have to use something like that to get the other players location and not player0

Currently your “Mesh” variable there is getting player0’s mesh

Thanks, got it done