Language:
Page Info
Tags:
Engine Version:

Timelines

Choose your OS:

k2_timeline_demo.png

Timeline nodes are special nodes within Blueprints that allow for simple time-based animation to be quickly designed and played back based on in-game events. Timelines are somewhat like simple Matinee sequences in that they allow simple values to be animated and events to be fired off over time. These can be edited directly inside the Blueprint editor by Double-clicking on the Timeline in the Graph tab or in the My Blueprint tab. They are specifically built for handling simple, non-cinematic tasks such as opening doors, altering lights, or performing other time-centric manipulations to Actors within a scene.

Inputs and Outputs

k2_timeline_node.png

Timelines come with the following input and output pins:

Item

Description

Input Pins

Play

Causes the Timeline to play forward from its current time.

Play from Start

Causes the Timeline to play forward from the beginning.

Stop

Freezes the playback of the Timeline at the current time.

Reverse

Plays the Timeline backwards from its current time.

Reverse from End

Plays the Timeline backwards from the beginning.

Set New Time

Sets the current time to the value set (or input) in the New Time input.

New Time

This data pin takes a float value representing time in seconds, to which the Timeline can jump when the Set New Time input is called.

Output Pins

Update

Outputs an execution signal as soon as the Timeline is called.

Finished

Outputs an execution signal when playback ends. This is not triggered by the Stop function.

Direction

Outputs enum data indicating the direction the Timeline is playing.

Timelines may have any number of additional output data pins reflecting the types of tracks created within them. These include Float, Vector, and Event tracks.

Timeline Examples

Tags