Arma 3 Scripting

Function in Timeline, Systems

BIS_fnc_eventTimeline

Also available as Markdown and JSON, or read the original wiki page.

Description

Universal system for playing sequential events defined by time.

Note

codeInterrupt and codeEnd are called while the code in the timeline is spawned.

Syntax

[timeline, index, music, codeInterrupt, codeEnd] call BIS_fnc_eventTimeline

Parameters:

Returns: Nothing

Examples

Example 1

private _timeline =
[
    [0.0, { hint "Start of the Timeline" }],
    [1.0, { hint "Event 1" }],
    [3.0, { hint "End of the timeline" }]
];

[_timeline, 0, "", { hint "Interrupted" }, { hint "Timeline done" }] spawn BIS_fnc_eventTimeline;

See also

BIS_fnc_animatedBriefing