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"

Double jump doesn't work on multiplayer

Can someone tell em why this isn't working? I'm trying to run it in multiplayer. alt text

Product Version: UE 4.9
Tags:
capture.png (140.0 kB)
more ▼

asked Oct 25 '15 at 10:55 PM in Blueprint Scripting

avatar image

ShrewGlue
419 97 83 106

avatar image ShrewGlue Oct 27 '15 at 01:10 AM

EDIT: I have found that this is caused by the launch character node and multiplayer. Why does this not work?

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

3 answers: sort voted first

According to this, you just the double jump just by hitting space, and both "jump" actions take effect within the same tick....

also, Jump only executes if the player is grounded, so you may just need to apply impulse to the player character instead if in midair.

Plus some better double jump detection, like is grounded, or, setting a has jumped bool (otherwise you wont be able to do a midair jump if you just fall off a cliff say)

more ▼

answered Oct 26 '15 at 01:35 AM

avatar image

MrGrr
986 34 3 41

avatar image ShrewGlue Oct 26 '15 at 08:05 PM

It use to work fine.

The first time your prissed it, N=1. so you jumped. Then second time N=2 so you have impulse added,

The thing is when impulse is added I think, because of multiplayer it stopped working.

It was working before I added multiplayer though.

avatar image MrGrr Oct 27 '15 at 02:38 AM

So the server jumps, but the clients dont? you may need to execute the code server side, and replicate the changes out to the clients using "Switch has authority"

avatar image ShrewGlue Nov 06 '15 at 08:36 PM

This doesnt work.

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

I'm going to attempt a solution. Had a similar problem, couldn't fix it for hours on hours. It turned out that there is a variable called "JumpMaxHoldTime". Personally i use C++, but this was my problem.

This is an old question, but im posting because everytime i googled my problem this question came up. (Mine was wall jumping)

Hopefully this helps.

Side note! if you do change this variable then this enables infinite jump so an if statement that works off a jump counter is recommended.

more ▼

answered Jun 12 '16 at 05:55 AM

avatar image

psychoticpolice
7 4 4 7

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

answered May 25 '18 at 05:48 AM

avatar image

TOXIC_Rize
6 1 4

(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