I have a weapon (replicated ) attached to my player , I want to do a line trace from it so I can show a cross hair on the screen.
Problem is that the line trace shows up on all clients??
I have everything working if I do the line trace in the my pawn but I want to do it in the weapon so I have all things in one place?
So how do I do a function that only runs on the owning client side in a replicated weapon ??
Is everything replicated in an actor that has Replicate set to true ?