Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_Tutorial_Driving_START.c
Go to the documentation of this file.
1[EntityEditorProps(insertable: false)]
5
6//------------------------------------------------------------------------------------------------
8{
9 //------------------------------------------------------------------------------------------------
10 override void Setup()
11 {
12 if (!m_Player.IsInVehicle())
13 PlayNarrativeCharacterStage("DRIVING_Copilot", 1);
14
15 CreateMarkerCustom("DRIVING_Copilot", SCR_EScenarioFrameworkMarkerCustom.POINT_OF_INTEREST, SCR_EScenarioFrameworkMarkerCustomColor.REFORGER_ORANGE);
16 }
17
18 //------------------------------------------------------------------------------------------------
19 override bool GetIsFinished()
20 {
21 if (m_Player.IsInVehicle())
22 return true;
23 else
24 return m_sLastFinishedEvent == "SOUND_TUTORIAL_TA_DRIVING_COURSE_IN_INSTRUCTOR_F_01" || GetDuration() > 3000;
25 }
26};
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
SCR_MapMarkerBase CreateMarkerCustom(string entityName, SCR_EScenarioFrameworkMarkerCustom icon, SCR_EScenarioFrameworkMarkerCustomColor color, string name=string.Empty)
void PlayNarrativeCharacterStage(string characterName, int stage)