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"

Why the Client doesnt update Replicated Variable in time?

Hello, Well it took sometime until i realized that the problem on my code was that the client doesnt get the replicated variable value imediatly. Here is half of a function that is executed on event begin play:![alt text][1]

I dont understand why.. This is what i think that should happen:

1 - Authority Part: The server gonna add a skill reference to the array and then, if the skill is valid it gonna print valid on the screen.

2- Remote Part: The Client gona check the replicated array (witch the server already added some members) and if the skill that served added was valid it gonna print valid.

But no.. the server prints valid and the client prints Not valid.. I already separeted the Remote and Authority parts into 2 functions and put 1st the server part and then the client (order) so the server would add the skills 1st but nothing changed.. the client always print invalid.


Thank you very much

Product Version: UE 4.16
whyf.png (125.0 kB)
more ▼

asked Sep 05 '17 at 06:08 PM in Blueprint Scripting

avatar image

20 3 7 12

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

0 answers: sort voted first
Be the first one to answer this question
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