About "Get Play Length" node. (Possible bug? Am I missing something?)

Hi!

First of all let me contextualize the problem.
I’m trying to create a system where for a given attack speed my animation rate scales accordingly. After some period of time (66% of the animation) has passed, the user may cancel the animation by walking or pressing any button (initiating another animation).

The problem comes when I need to do these calculations, as I need to check what animation is being played or is going to be played, and get its total length, so I know how much I should speed up or slow down the animation to make it last precisely how much it needs to. But when I use the “Get Play Length” node, it doesn’t show the drop down list that lets me choose which animation to get its length.

What I mean…

When I use the "Get play length" node, I get this:

actual.jpg

But when I googled this node, and landed on an unreal documentation page, I get this:

wiki.jpg
(http://api.unrealengine.com/INT/BlueprintAPI/Animation/GetPlayLength/index.html)

In the node I get, I can’t choose its target by selecting it through a drop down list, but the result I see in the documentation, clearly shows an “Select Asset” in its target.

And this is where my confusion come to play. At first I thought it was some sort of bug, but then I thought it may be some sort of different configuration configuration in my project, specially after I found out I could work around this issue using a select node. (the “Select Asset” drop down list shows up when I use a select node). Like this:

As you can see, in the “Select” node I get a drop down list for each possible result. And, as at first I thought it was a bug, I thought it would somehow crash the engine if I tried to actually get some result from the “Get Play Length” node. But for my surprise it actually worked out just fine.

In a way its not really a problem, as I managed to work around the issue, now I can actually get the length of my animations using this node. But then, I felt like I was missing something, that there is something that I’m not aware of, that lets me select the target I want via a drop down list. If not, then, is this a bug? Shouldn’t the “Get Play Length” node let me select an asset?

Thanks in advance to you all :slight_smile: