Do i process other player's begin play and tick?,Do I process other player's begin play and tick?
I'm asking something about optimization. I want to know if my thinking is right and hear your thoughts about how the system works.
Let's say I'm playing with 3 more players in my scene (Let's say it's multiplayer). That means I have 4 actors of the same blueprint / class in the scene. Now, if I add a widget on Begin Play of the character BP, do I add a widget for another 3 characters in my scene? (Which are actors that are each replicated from a real player's actor) Because if 4 players add a widget to each character in their scene, is a total of 16 widgets added. But obviously, only the real players need to see the widget.. so Do I process another 12 widgets for nothing? I know that I can fix it by checking on "Begin Play" if the current player is player 0. But is that the best solution? Isn't the engine "smart" enough to say "oh that's just an actor replication by another player's actor, it does not need a widget!"?
I hope I was clear, It's not easy to write this, If something is not clear let me know and I'll try to write it differently.
asked Aug 22 '18 at 12:51 PM in Using UE4
Follow this question
Once you sign in you will be able to subscribe for any updates here