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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Reusing Animation blueprint nodes

In UE3 times anim trees were just trees of named template slots for animation and during the gameplay you could put any animation in those slots depending on the situation.

Like there was a blend between walk and reload then you could put any animation in the reload slot from the code depending on the weapon and not needed to put separate branching nodes for each weapon reload animation.

How do you do that in UE4? is it the "SLOTS" node ? or something else?

How do I use Slots?

Product Version: Not Selected
Tags:
more ▼

asked Feb 01 '15 at 08:22 AM in Blueprint Scripting

avatar image

Commander Shepard
797 62 82 219

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

1 answer: sort voted first

From a AnimSequence, you can select that and in the detail setting should be right bottom in default. From that you can show the AnimSequence as pin, from code you just need to make an BlueprintPure function to feed the AnimSequence. This what i do for my game.

alt text

alt text

capture.png (8.1 kB)
capture.png (27.4 kB)
more ▼

answered Feb 01 '15 at 01:14 PM

avatar image

Duncan Dam
3.1k 121 50 164

avatar image Commander Shepard Feb 01 '15 at 02:31 PM

Well done , but anyway doesn't that mean you have to place a default animationSequence node for it which you cannot rename to something more logical?

avatar image Duncan Dam Feb 02 '15 at 03:01 AM

seem like u must place at least 1 default there, i try with none but it give the error

avatar image Commander Shepard Feb 02 '15 at 08:02 AM

and you cannot rename these nodes either! there must be a better alternative

avatar image Duncan Dam Feb 02 '15 at 08:26 AM

there's one way is u can make your own Play Animation Node, but it require some coding involve. But if with just the name, it's not big problem, already save a lot of time with this.

(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