x

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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Replication Server -> Client

Hello every1. Im here to try to understand a bit more about replication. Im doing a skill system and as we all know the skill system has perform on the server and on the client. A simple way to do it is by clicking a button and it will perform the skill related to that button (thats what im doing). The client works good but im having a problem with the server, becasue it doesent seems to know what is the client who pressed that button so lot of problems happen. How can i tell the server whitch client he needs to "focus". Im doing the code by passing references of the player, but it is not going well. Is there anything im missing on the server->client (and only that client) that im missing? Im using (Run on Server Event for server and then a normal Event for client).

when i press the button all the clients use the skill, sometimes only 1 client, even when i passed the Player Reference from the widget (the skill button)

Product Version: UE 4.17
Tags:
more ▼

asked Nov 25 '17 at 07:50 PM in Blueprint Scripting

avatar image

RyzonPT
20 3 6 12

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

1 answer: sort voted first

Well after lot of time trying/ thinking but never giving up xD i found out i was thinking the wrong way, it isnt the server who needs to know witch client performed the skill, it is the client who need to say the server "im performing the skill" so the server knows witch client is "performing" it. At least i solved it this way, i will leave this post here for the ones who have the same problem and ofc if som1 has something to add to this situations feel free to do it.

more ▼

answered Nov 26 '17 at 02:41 PM

avatar image

RyzonPT
20 3 6 12

(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