Let’s say I want to have a player shoot while mouse button 1 is held, which is a boolean replicated to the server which spawns a projectile every few fractions of a second while held. This boolean can also be replicated to the character actor in the other clients to do some cosmetic things like animations or sound while firing.
I want to know if you feel this is the best way to accomplish such a common situation. Is setting it through replication responsive enough? Or would an RPC be more responsive? Do games often have to add their own client side predictions to get a responsive feeling upon shooting?