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"

[Multiplayer] Trying to replicate weapon pickup to clients

I am trying to make a multiplayer arena shooter like UETournament. There are pods that spawn weapons and when a player get nearby the weapon gets picked up automatically and added to the players inventory. Im having trouble trying to add weapond to clients, as for server everything seems to work fine.

The weapon pod actor is recplicated and instancing weapons trough network fine. Here is the event that spawns teh weapons:alt text

Here is the event called when a player overlaps the weapon pod: alt text

The Add Weapon event called on the player which is not working for client servers: alt text

Additionally here is the function that spawns a weapon, in the Weapon Pod: alt text

I think the problem might be on the weapon pod which is only spawning on teh server, but again in my head that makes sense because weapon pods are supposed to be known by the server. However i don´t know if i am assigning the weapon to the players correctly and i can´t seem to fugre this out. Any help would be aprpeciated, thank you!

Product Version: UE 4.22
Tags:
1.jpg (72.7 kB)
2.png (202.0 kB)
3.png (137.8 kB)
4.png (203.9 kB)
more ▼

asked Jun 08 '19 at 12:41 PM in Blueprint Scripting

avatar image

Panquequinhas
8 1 2

(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