So I was making some sub components for my actor so I could use them in my actors one after another. And it looks tidy aswell!
Problem I have is, neither Actor or Scene Components can NOT have timelines. Is there a reason why? I am abit new on this component thing so pardon me please.
This will actually force me to make my small systems as Actor Blueprints, invisible but still actor. Sounds like a bad decision.
Same! I can work around the issue by placing the timeline in the character for now and wrestle with the replication issues that arise from doing so, but a solid execution of my design pattern requires a timeline to be in the Actor Component. Abstracting this one piece into the wrong blueprint is not ideal. Adding this fix to 4.10.x would be greatly appreciated.
Any update on this, Epic? Still would like to be able to put Timelines in the event graphs of Actor Components… Seems strange that you can have a Delay node, but no Timeline.
Whether or not anyone from epic will acknowledge it, that’s another story.
As a workaround, you can create an actor blueprint that simply holds all the timelines, that would have been on your actor components, in its event graph. One of these actors is spawned for each actor component that needs a timeline, with reference kept – exposed at spawn for that actor is a ‘timeline name’ variable, which dictates which timeline it plays. As the timeline plays, it sets its values to a public variable. When the actor component needs the timeline values, it simply uses the reference to the timeline actor, to get the public variable where the timeline values are stored. When the timeline is done the timeline actor destroys itself.
It’s a good enough workaround for me… allows me to keep my timelines in one place (instead of in the actor implementing the actor component), however I still have to spawn one of these actors per actor component instance. C’est la vie.
After doing a bit of digging I was able to find that this request (UE-14962) is known and has already been sent to the developers for further consideration. I have provided a link below to the original post. Feel free to check the linked thread for future updates.
Depending on your need, setting a timer could work. Here’s an example. You can use an Ease function after the Clamp, if you need a non-linear interpolation.