Hey guys hope you're all well. Basically been working on a multiplayer game and have got everything work how i want so far bar one thing and its driving me slightly nuts. So basically im running a client and server testing the replications and i have a reload and magazine where you can see the bullets getting visibility toggled when fired giving the illusion there being shot out. when reload is hit the all get toggles back. Now my issue is the client can see the servers visibility toggles but not the other way around. the Server can not see the clients. I have ticked the replicated in the BP and set some custom events up. Any help would be most appreciated.
asked Jul 26 '16 at 11:42 AM in Blueprint Scripting
cosmetic effects should not be replicated, they should be performed locally on all machines. so if CurrentAmmo is the variable that controls the state of bullet mesh visibility, CurrentAmmo should be a RepNotify variable, then you can use its onRep function to update the visibility of the meshes whenever the ammo count updates.
Follow this question
Once you sign in you will be able to subscribe for any updates here