- Home /
Help| Sync' boolean variable (Friendly Fire)
so i'm trying to make friendly fire option, that the hoster of the server can choose between 2 buttons "Enable","Disable". if he chose enable - friendlyfire = true; if he chose disable - friendlyfire = false;
but i need to send the Choice of the hoster to every player who connect to the server (as client). i mean .... if the "friendlyfire" variable in the hoster set to true, then the "friendlyfire" variable of every player who connect to the server, will set to true too.
and if if the "friendlyfire" variable in the hoster set to false, then the "friendlyfire" variable of every player who connect to the server, will set to false too.
i triend but without any success, and i need your help.
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Easiest way to sync a boolean variable across multiple Android app instances? 2 Answers
Animation with root motion synchronization in multiplayer 1 Answer
Multiplayer client and server aren't talking to each other properly after changing scenes 0 Answers
UNET Health isn't syncing 1 Answer