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"

How to create a Jump Power?

alt text

![alt text][2]

So here is my progress ,I tried to make when the character got next to the powerup ,it dissapears and gives the character a Jump power, but I can't make him jump, only collect the power without doing nothing. Is there a way to fix it?

Product Version: UE 4.7
more ▼

asked Jun 09 '15 at 03:14 PM in Blueprint Scripting

avatar image

Sinõr Oktoberfest
1 2 2

avatar image Matthew J Jun 09 '15 at 05:02 PM

Hi Sinõr Oktoberfest,

One helpful method of debugging would be to place a Print String node between the 'Branch' and the Jump function and then another print string on the False pin. This is a good way to see if the branch and the boolean are working the way you're expecting. It's possible that the boolean is not being set. If this doesn't help you find the issue, can you post a screenshot of where the boolean is being set to true?

avatar image Sinõr Oktoberfest Jun 09 '15 at 05:33 PM

I tried doing what you did ,but it did nothing, but just expanding the Blueprint, I tried changing the Boolean to True, but he could jump even before getting the Powerup. So we need another plan.

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

2 answers: sort voted first

Hi Sinõr Oktoberfest ,

After your cast to sidescrollercharacter, drag off of the "as Side Scroller Character" pin and type "Set Peguei Jump". This will set the boolean value to true (make sure checkbox is checked) so that your player can now jump. Additionally, make sure your input touch is going through the branch as well instead of directly to the jump node.

more ▼

answered Jun 09 '15 at 05:37 PM

avatar image Sinõr Oktoberfest Jun 09 '15 at 06:01 PM

And how i drag the "Peguei_Jump" from a blueprint to another? I tried that but didn't work. I quite didn't understand what you did there ,I'm new to english ,could you please send me a photo of what you did to me?

avatar image Adam Davis STAFF Jun 09 '15 at 06:58 PM

alt text

alt text

Try this setup. You'll pull off the pin in your jump powerup blueprint, not your character blueprint.

pegueijumppin.png (44.7 kB)
settrue.png (48.9 kB)
avatar image Sinõr Oktoberfest Jun 09 '15 at 07:10 PM

It finally worked Adam! Thank you very much for your help!

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

I have done this tutorial and it is great:


hope this helps. :)

more ▼

answered Jun 13 '15 at 12:13 AM

avatar image

aussie joel
28 2 6

(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