Cant see some things in multiplayer

When I start a multiplayer mode and put some players, between players cant see things like some animations, flashlight and other features.

It seem like the comunication between the players and the server is wrong, but why?
How to fix that?

You need to make sure that you replicate all the data you want to synchronize, like the player yaw, pitch, flashlight etc.

I can only choose “replicate” for blueprints variables; but I dont see any option for animations or entities like a spotlight

For particles like spotlight i think you need to run custom event on server and then multicast it… animations i think are replicated but if you want to replicate pitch aiming, again you need to pass values to server (and maybe on multicast too).
Post screen of your bp (+video if possible) for more detailed help.

If you are using an animation blueprint, you need to get the replicated values from the character blueprint (like the pitch/aim), and the client itself will play any animations if needed based on that data. If you want to use the Play Animation node, I think you need to use a multicast event like Name368 said. About the spotlight/flashlight, it depends how you code it. It could be as simple as a boolean, and you could make it RepNotify, and turn it off/on accordingly. If it’s not, then maybe post some pictures so we know how you coded it, maybe we can help some more :slight_smile:


-Code for flashlight


-Code for run


-Code for walk slow


-This is the head update in the event graph of the player blueprint

Inside of “Update head rotation” function



This was the tutorial that I followed to make the head rotation: v=gDpTInfUeKg

Thanks you so much by the help, Im a beginner on blueprints :smiley:

[QUOTE=
For particles like spotlight i think you need to run custom event on server and then multicast it… animations i think are replicated but if you want to replicate pitch aiming, again you need to pass values to server (and maybe on multicast too).
Post screen of your bp (+video if possible) for more detailed help.
[/QUOTE]


-Code for flashlight


-Code for run


-Code for walk slow


-This is the head update in the event graph of the player blueprint

Inside of “Update head rotation” function



This was the tutorial that I followed to make the head rotation: v=gDpTInfUeKg

Thanks you so much by the help, Im a beginner on blueprints :smiley: