Here is a tutorial for how to code a timeline in C++ for Unreal Engine 4, since it can be a bit difficult to find out how.
Add this into your header file(.h) for FloatingActor if your running into issues with the delegates not being properly declared and such:
#include "Runtime/Engine/Classes/Components/TimelineComponent.h"
Wiki Link: https://wiki.unrealengine.com/Timeline_in_c%2B%2B
Orfeas Link: http://orfeasel.com/consuming-timelines-using-c/