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"

Crouch Button

When i press the crouch button my character is crouched if i press a Sprint button or the Jump button the character is uncrouched, but when i trying to crouch again i need to press the crouch button two times. How can i set to only one time i need to press button?alt text

Product Version: UE 4.20
crouch.png (174.0 kB)
more ▼

asked Sep 07 '18 at 05:51 PM in Blueprint Scripting

avatar image

38 3 8 10

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

1 answer: sort voted first

I think it could be because of the Flipflop. Which way it goes, crouch ir uncrouch, relies on the crouch button being pressed, but nothing tells it whether you are already crouched, only whether it's flip or flop.

But you have other actions uncrouching while it's still waiting for a flipto uncrouch. so you have to press crouch button twice after another action uncrouches because the first time uncrouches when youre already uncrouched (flip) and the second one is the flop that crouches.

To fix this you need to replace the flipflop with a branch on Iscrouched.

more ▼

answered Sep 07 '18 at 06:09 PM

avatar image

3.8k 18 24 21

avatar image Tsybe Sep 07 '18 at 07:25 PM

This isn't working, but may i screwed up something. Any other way to the problem?

avatar image ThompsonN13 Sep 07 '18 at 10:27 PM

are you using the right is crouched? theres one built into the engine that you want to be using since it will communicate with the built in crouch uncrouch nodes.

alt text

capture.png (167.6 kB)
avatar image mightyenigma Sep 08 '18 at 02:55 AM

I actually didn't know there was a built in uncrouched bool haha :)

(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