Can someone help me with the timeline?
The important part is the animation.
I’m trying to make an elevator that moves between floors, I have 10 floors.
I can get it to move between floor 1 and 2 using a timeline, but I don’t know how to set up more floors, since I’m not sure how (or if) it’s possible to set the end time in Blueprint.
Can someone tell me how to set the end time and play length in Blueprint? If that’s not possible, then I can add more tracks, but how do I set which track to play from the timeline node?
Do you want me to also rephrase it more formally, like for posting on a forum, or keep it casual like you wrote?
1 Like
Its a good idea to take your current Z as a start, then use the floor variable to compute the destination Z. Then you can make the timeline just 0-1 and lerp between the two Z values 
but I need more then only 2 values.
also I’m not sure what the values in the folat Z1 and Z2 is meat to be set to.
can I use the valye from my interface Event Set Floor as the end value?
You must have a floor height?
If you use a lerp, you only need what I’ve shown you.
The two Z values are set to
1 Where you are now
2 The difference to the next floor
The lerp takes care of everything else. I’ll do a quick example…

Thanks, now the animation works! One last question: is there a way to make the animation play at the same speed?
From floor 1 to 2 it goes at normal speed, but from floor 1 to 3 it goes double speed. Is there a way to keep one speed regardless of the distance?
1 Like
It’s playing at the same speed, but going further.
You can scale the speed by the distance
2 Likes