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"

Paper2D attack combo system

I've been trying to get this system working for the past few days now, and I'm having no luck. Hoping someone here with more experience can give me some pointers.

The combo system works, to an extent, but if you hit the combo buttons too fast, everything goes wrong.

https://pasteboard.co/HHGePdJ.png Here's what I've got so far. Any pointers?

Product Version: UE 4.20
Tags:
more ▼

asked Oct 10 '18 at 12:34 AM in Using UE4

avatar image

Vandalist
1 1

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

2 answers: sort voted first

Surprisingly, this issue was resolved by simply changing a delay to a retriggerable delay towards the end of the blueprint. The freak incidents of it stopping mid-animation were caused by previous iterations of the delay ending. By making this delay a retriggerable delay, every time I execute a combo attack, it will reset that timer so that it's checking properly.

Hope this makes sense, and helps someone else out who's trying to do something like this.

more ▼

answered Oct 11 '18 at 12:35 PM

avatar image

Vandalist
1 1

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

Im not the most advanced user ..but seems like you need a way to to check which attack the character is currently in and when its finished in order to smoothly activate and swap attacks .. hmmm. So attackinput into first attack anim. Out of that into a created bool set it true . eg."bIsAttacking?" Then into a branch, get bIsAttacking? bool as condition. Then from branch fails set bIsAttacking? To false. Then when branch is true create a bool and set eg. "bIsAlreadyAttacking?" ......hang on hang lol...

Am not at pc just doing it from head and am getting lost will try and get something going in the morning so i can show you rather than try and describe what to do lol. Basically im saying if you can set it up so you cant attack while attacking by checking a isattacking? Bool then set a delay up so there is a time frame to continue the combo say between 0.01 and .1sec after attack and it will attack with combo and then the next combo etc . But if you dont push it in that delay time then reset attack back to bIsAttacking? To false and it will just do a single attack and loop .. hope that makes sense lol ..did in my head . Let me know if you understand my ramblings or not and will try and help more so.

more ▼

answered Oct 10 '18 at 01:29 PM

avatar image

slimdzl
5 1 4

avatar image Vandalist Oct 10 '18 at 01:48 PM

It sounds like you're suggesting what I already have running. The problem is that the delays and commands to end the combo keep running even after the second input press sometimes. If you could show me what you're thinking of, I'll take a look at it and see if it suits my needs. Thank you! :)

(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