Link to timelines doc for c++?
Hello everyone! I am just now diving into C++ from blueprints, and I use timelines a lot in blueprints and was wondering if they were in C++, and if so is there a doc I could use?
asked Mar 03 '16 at 07:13 PM in C++ Programming
After trying this before I thought I give this timeline in c++ another shot. There are still some old answers here on answerhub which show how to use timelines in c++ with the actor's own tick function. But actually it also works withouth using the tick of the actor. I had to use AddInterpFloat() at runtime to get this to run.
This answer should work for you!
//Then inside BeginPlay for example:
//And Finally your callback function:
I made a wiki page about this here:
You'll want to look into using timers in code. The class for timers is Runtime/Engine/Public/TimerManager.h and there is a short tutorial on setting up an actor that uses a timer:
Let me know if this info helps.
answered Mar 03 '16 at 07:57 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here