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. 

Multiplayer Events

Hey guys,

I really need help. I try to set up my multiplayer since months but it doesnt work. If my server send an event my client see it, but if my client try to send an event to the server that he can send it to all clients, it fails. This is how my bp works: alt text

Maybe somebody has time and fun to look over my whole project to find out what´s wrong. If not I´m really thankful about every idea.

I hope somebody can fix my problem! If you need some more information just ask!


Product Version: UE 4.13
türbp.png (608.9 kB)
more ▼

asked Feb 13 '17 at 12:11 PM in Using UE4

avatar image

13 5 7 9

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

1 answer: sort voted first

I think the reason why your client can't call the server RPC here is because the client doesn't own the DoorFrameBP instance. To handle this you can try this:

  1. You recieve a "Press F" event.

  2. You call a custom event (localy) in the local player controller (the index 0), named for example "On F pressed event"

  3. Within the player controller blueprint, you call a server rpc named for example "Server_ClientPressedFEvent"

  4. Then you do what you want from here. I'm not sure about it, but if you want to go back to your DoorFrameBP on the server side, you can try to pass the reference of it in all the previous events.

Hope I was clear :) Good luck !

more ▼

answered Feb 13 '17 at 12:36 PM

avatar image

697 31 20 54

avatar image Arechon Feb 13 '17 at 12:53 PM

Just an addition: before you call the event (that is directly after pressing the F button in this case), add a "Switch Has Authority" Node. This will tell you if the Client owns the Actor (this is often the same as server/client, but not necessarily). When the Client you call this on is also the Server, proceed normally as you already do. If the Client does not own the actor (not the authority), use another Custom Event which is set to run on the Server to call the other nodes.

In short: Check if you are the Server. If yes, tell everyone to do something. If not, tell the Server to tell everyone to do something.

(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