Arma 3 Scripting

BIS_fnc_animatedBriefing

  • Local effect
  • Runs with spawn
  • Arma 3 v1.78

Function · also in Briefing · Markdown · JSON · original wiki page

Description

Plays the Animated Briefings. Basically, it is a wrap function for the BIS_fnc_eventTimeline function.

Syntax

[timeline, indexEvent, music, markersHide, markersShow, endPosition] call BIS_fnc_animatedBriefing

Parameters:

Returns: Nothing

Examples

Example 1

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

// get markers to be shown at end by using the layer's name
private _showMarkers = (getMissionLayerEntities "showAtEnd") select 1;

// start the Animated Briefing at index 0
// hide all markers and show the markers from the "showAtEnd" layer after the briefing is done
// zoom on marker_rect_1 at the end of the briefing
[_timeline, 0, "", nil, allMapMarkers, _showMarkers, "marker_rect_1"] spawn BIS_fnc_animatedBriefing;

// Wait until timeline is over
waitUntil { !(missionNamespace getVariable "BIS_fnc_eventTimeline_playing"); };

See also

Arma 3: Animated Briefing · BIS_fnc_eventTimeline