How to play Weapon Animations? | Getting Error

The shootergame sets its own state, which then goes to the server via RPC, which then updates that state to all the other clients. Have a look at how the state replication values are setup for the firing (I think its bIsFiring value, don’t have my code available right now).

So generally, you’d play your animation locally on the client, send an RPC to the server to update, then set a replicated property on the server that replicates it to everyone but the owning client (the one who started firing, because they’ll have done it locally already).

If you’re doing a networked game, you would be well advised to review the replication documentation and look over the shootergame code for usage. Although there seem to be a bunch of gotchas :slight_smile: