Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Update variable Networking

Hi, im learning about Networking and im trying to make a multiplayer game, when one player press some button then show for the server and client, i tried with GameMode, GameState, PlayerState, but doesnt work.

(I'm sorry if I have bad grammar, I speak little English)

Something like thisalt text

Help me with example if u can please I will be very grateful :D

Product Version: UE 4.13
ask.png (56.9 kB)
more ▼

asked Feb 13 '17 at 03:02 AM in Blueprint Scripting

avatar image

1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Remember that each Actor in multiplayer game has Client side and Server side. All Widgets and input events are called on the Client side. If you want to send a variable to the Server, you need to call an RPC event in a replicated Actor (switch on the "Replicates" option in Actor class defaults) and send the variable via this event. If your variable is already on the Server side, you can set this variable to "Replicated". This will update this variable for all Clients.

Here you can read more about UE Networking.

more ▼

answered Feb 13 '17 at 08:59 AM

avatar image

405 16 24 44

avatar image Elviingoomez Feb 13 '17 at 04:27 PM

Thank you very much, I am going to see the document, it is very helpful

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question