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"

Network Multicast Issue

Hi,

I am having a strange problem, what I'm doing is basically, the server calls a multicast that's supposed to send back the name of each player to the server like this : Server calls multicast -> Multicast calls event run on Server with player's name -> Server displays it

But when I try this, I only ever get the server's name and not the players, also, in the multicast I have a Switch has authority printing "server" if it has authority and "client" otherwise, I put a breakpoint on he "print client" node but when I try it, the breakpoint never triggers yet the "client" text does appear, I'm really confused here.

If It's not possible to do this server to all players and back to server transfer via events please tell me. Thank you.

Product Version: UE 4.8
Tags:
more ▼

asked Jul 04 '15 at 05:57 PM in Blueprint Scripting

avatar image

Eresea
49 16 22 29

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

1 answer: sort voted first

Don't you call the multicast event from event BeginPlay? For example, if you make blueprint like "BeginPlay -> Multicast -> Multicast calls event run on Server" in GameModeBP, when BeginPlay is called, there are no players spawned, so multicast cannot call any events in clients. This is because BeginPlay Events of GameModeBP or LevelBP or so on are called before players are spawned.

If your problem isn't related to this thing, maybe I don't have knowledge that can help you, sorry.

more ▼

answered Sep 25 '18 at 05:03 PM

avatar image

creatorue
41 9 10

(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