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"

Multiplayer Actor Spawns

I am using 4.16 right now and I have an inventory system. (like most it has a drop system) The drop system spawns the actor (the item) and if it is in multi player only the client can see it, Not the server nor other clients can see it.

Here is the setup I have for dropping the item.

alt text

And this is not only for the items, any actor that a player spawns in can only be seen by the client that spawned the actor. this problem I have can also be found in the First Person Shooter Template that unreal engine comes with. the spawned projectiles are only seen by the client that spawned them. If there is a fix pleas let me know because that would really help for multiplayer!

~Thanks in advance!

Product Version: UE 4.16
question.png (234.6 kB)
more ▼

asked Jul 11 '17 at 01:56 AM in Blueprint Scripting

avatar image

116 9 10 18

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

1 answer: sort voted first

Hey there!

Ue4 using server - client architect, that means replicated actord will be networked only if auth spawn that. This authotative is always the server...

To spawn things on server, you need use Remote Calls. This remote calls as their name say can run on remote machine. For example you can declare a function which will be invoked from Client but code, function body will be executed on Server!

I recommend to read two thing:

The Best networking ecplanation by the Great Cedric ! :)


https://docs.unrealengine.com/latest/INT/Gameplay/Networking/Actors/RPCs/ And Epic officially doc about how to use RPCs :)


more ▼

answered Jul 11 '17 at 07:19 AM

avatar image

1.5k 15 9 34

(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