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"

How to make a combat mode

I want to make it so that whenever I press the tab key it changes from using current blend space to an alternative blend space which would be the combat mode. How would I make it so that every time I press tab it sets the bool value to be the opposite of what it is currently? Also, How I would be able to use that bool in the animation blueprint because I cannot access it.

Thanks,

P.S: If there are alternative ideas to getting a combat mode I would highly appreciate that. This is probably a really nooby question anyway

Product Version: UE 4.18
Tags:
more ▼

asked Mar 14 '18 at 04:21 PM in Using UE4

avatar image

Do Not Revive Me
10 2 5

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

1 answer: sort voted first

How about using the Flip Flop node? Connect the ButtonOfYourChoice-Pressed Node to the Flip Flop Node, add Set YourBool and all you need now is to change the AnimBP (maybe this post will help you)

I hope I could help!

more ▼

answered Mar 14 '18 at 05:35 PM

avatar image

Pixel_Error
49 2 8 10

avatar image Do Not Revive Me Mar 14 '18 at 08:06 PM

Thank you, man, you don't how much I appreciate this. I sort of knew the method you were talking about but needed the flipflop node which I had no idea about.

avatar image Pixel_Error Mar 16 '18 at 06:39 PM

Just glad I could help!

(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