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"

Jump attack montage problem

alt text

alt text

So when I do the jump its standard setup - If Jump do jump start anim -> time remaining ratio .2 go to jump Idle anim -> on land do jump end anim...

But if I play a montage for attack in the air during either Jump start or Jump idle After it finishes the attack montage - the Jump START anim restarts over again - making my character do a jump anim in the air rather than picking up at the time remaining ratio -

What I'd like to have happen is - after the attack montage - character goes to JumpIdle or falling anim

Also - if I do an attack right before landing it totally skips the Land animation - I would like to be able to over-ride the attack with a land anim...

Product Version: UE 4.14
Tags:
cache.jpg (68.3 kB)
more ▼

asked Apr 04 '17 at 08:26 PM in Blueprint Scripting

avatar image

Ghostblades
114 16 24 38

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

1 answer: sort voted first

I recently encountered something very similar.

The issue (for me), was that when the montage finished playing, the Anim StateMachine kicked out and re-entered.

Epic is discussing, as it has to do with relevancy logic they tweaked since 4.12, but there is no solution as yet.

My "workaround" was to create a state node upon entry in to the LocoMotion graph. This node has no animation information assigned to it. From this entry node, it has rules that branch out to my various states my player could have been in when it kicked out. This way, the statemachine can "return" to the proper state in the event it kicks out and re-enters.

Tedious? YES. But it works until a better solution is presented.

more ▼

answered Apr 05 '17 at 02:47 PM

avatar image

Jason.J
52 1 5 4

avatar image Ghostblades Apr 05 '17 at 04:01 PM

Interesting solution - I will try that as well I hope they fix this soon - it feels like a niche thing...I'm not too sure why I haven't found more info on "jump attacks" online - maybe not too many people dealing with it - I wonder how they deal with it in games like Street Fighter where they do in air attacks - I'd love to see that state machine :)

I was messing around with something last night that ended up working as well. After I did the "In air attack" I forced it to go into the "in air Idle" and then upon landing I did a stop montage just in case the montage was going on while landing to forcing it go into land anim

avatar image Ghostblades Apr 06 '17 at 09:57 PM

Would you mind just throwing a quick screenshot of what you mean?

(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