Arma3 - Cinematic mission briefing

From ScottWiki
Jump to navigation Jump to search

Place this code in init.sqf (which will run on the mission start)

This will fade in cinematics, walk the player forward for 10 secs. Disable Movement (but allow head turn) The officer with the "Overwatch" variable will brief the player, before returning control and adding a diary entry to the briefing screen.

cutText ["Part 1 - 'Call and Collect'", "BLACK FADED"];
[0,0,false] spawn BIS_fnc_cinemaBorder;
Overwatch playMove "Acts_B_M03_briefing";
sleep 5;
titleCut ["Pegasus Airbase, NE of Malden Island. Christmas Eve 2035 - 0600 hours. ", "BLACK IN", 10];
player switchMove "Hubspectator_walk";
sleep 10;
Overwatch sideChat "Welcome Squad, at ease.";
player playMoveNow "amovpercmstpslowwrfldnon";
sleep 7;
Overwatch sideChat "We have a simple extraction situation for you commander";
sleep 5;
Overwatch sideChat "We have lost contact with our Bio-Weapons facility on Malden";
sleep 5;
Overwatch sideChat "Your team is to assess the situation.";
sleep 5;
Overwatch sideChat "It is probably just a downed antenna or comms failure, but due to the top secret nature of the facility, we need you to check it out.";
sleep 5;
Overwatch sideChat "Our top bio-weapons scientist, Dr Richard Franklin (call sign NOMAD) is your primary concern.";
sleep 5;
Overwatch sideChat "Assess the situation, Extract NOMAD and return him to Pegasus Airbase for de-briefing.";
sleep 5;
Overwatch sideChat "Your ride is in-bound ETA - 10mins.";
sleep 5;
Overwatch sideChat "Thats all, Commander, supply your squad at the crates and prepare for transport.";
sleep 5;
player sideChat "Saddle up team, grab any gear you need from the Arsenal crates, You heard the man, transport in 10mins.";
sleep 5;

[1,1,false] spawn BIS_fnc_cinemaBorder;
Overwatch switchMove "amovpercmstpslowwrfldnon";

player createDiaryRecord ["Diary", ["Mission Log", "Assess the situation at the bio-weapons facility on Malden. Extract Dr Franklin (call sign - NOMAD)
 if necessary, from the bio-weapons facility and return to Pegasus Airbase.<br /><img image='franklin.jpg' />"]]; hint "Mission Log Updated\n Check 'Mission Briefing' - (press m)";