Announcement

Collapse
No announcement yet.

Jump all the time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Jump all the time

    Hi there,

    Somebody know how to make this function? When player is holding spacebar, the character will jump all the time. [In blueprint]

    #2
    With blueprint jumping you have: onKey press jump. And that is it.

    So instead of that, on keypress make player jump, add delay, check if space is still pressed, connect that to jumping node again.
    That is very basic version of it, for real game you would want to make it a bit more complicated, with timers or checking in game seconds, etc.

    Comment


      #3
      Hi Malisz99,

      Just to expand on Nawrot's response, below is a pretty rough version of what you need:

      Click image for larger version

Name:	tZrPVsC.jpg
Views:	1
Size:	61.0 KB
ID:	1106361

      as Nawrot mentioned, for anything further than testing you may look at bulk out the operation a little but in essence this works.

      Connor.
      Twitter: ItsConnorReid

      Blueprint Tutorial | Basic Sprint - Beginner Friendly | Forum | Wiki
      Blueprint Tutorial | Stamina Decay/Regeneration Implementation | Forum
      Blueprint Tutorial | Stamina/Progress Bar Implementation | Forum

      Comment


        #4
        Originally posted by Malisz99 View Post
        Hi there,

        Somebody know how to make this function? When player is holding spacebar, the character will jump all the time. [In blueprint]
        Hi Malisz99,

        This is how I would set something up like a repeating jump.
        Attached Files
        Adam Davis | Marketplace Support | Epic Games
        How to report a bug? | Installation & Setup issues? | Answerhub Bug Reports | Twitter

        Comment


          #5
          Thanks guys

          Comment


            #6
            Originally posted by Adam Davis View Post
            Hi Malisz99,

            This is how I would set something up like a repeating jump.
            Really magnificent (I just learned new thing about BPS). But that was just showing off.

            Comment


              #7
              I can't get it to work, it's all the same. Anything different I can do ? (4.18)

              Comment

              Working...
              X