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"

Players work differently?

So I'm making a multiplayer FPS game and I have implemented a dashing system into it through blueprints a long time ago. It has worked great so far, however I recently made the game multiplayer via LAN and now I've noticed that the dashing feature somehow only works for player 1. I have no idea what could be wrong or how to fix it.

Please help!

Product Version: UE 4.10
Tags:
more ▼

asked Apr 24 '16 at 10:16 AM in Blueprint Scripting

avatar image

AntzaDev
3 1 4

avatar image AntzaDev Apr 24 '16 at 10:38 AM

Update: I've noticed that if I play the game with a dedicated server, both players will be equal, and neither can dash. This isn't anywhere near ideal though because I still need dashing in the game and I need the listen server option to work as well.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You'll probably need to revise your dash system and add replication, if you haven't already. Switching from single player to multiplayer can be troublesome at times, it may be worth starting it from the ground up with replication in mind.

more ▼

answered Apr 24 '16 at 05:47 PM

avatar image

boyty01
113 6 5 11

avatar image AntzaDev Apr 24 '16 at 07:52 PM

Right, thank you for your response. I've been trying to add replication for some while now. My dash system is very simple and only uses two variables, so I don't really find it necessary to start from the ground up. I feel like I just have to make one small change somewhere, but I have no idea what it is. The only thing that isn't working is the launching. The dashing sound effect plays every time and you notice a slight shake on the screen of player 2 when dashing, but it doesn't actually launch all the way. It's like the player is starting the launch but then the game stops it before the launch continues.

avatar image boyty01 Apr 26 '16 at 05:56 PM

are you calling the event from the server? Here's an example of what I hope might help. alt text alt text

dashfunc.jpg (150.6 kB)
eventgraph.jpg (335.2 kB)
avatar image AntzaDev Apr 27 '16 at 09:08 PM

Oh yeah there we go! You were right, I got it working now with your advise. Thanks so much for the help man, go have a great day! :)

(comments are locked)
10|2000 characters needed characters left
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