Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_Tutorial_Driving_GETIN.c
Go to the documentation of this file.
1
[
EntityEditorProps
(insertable:
false
)]
2
class
SCR_Tutorial_Driving_GETINClass
:
SCR_BaseTutorialStageClass
3
{
4
};
5
6
//------------------------------------------------------------------------------------------------
7
class
SCR_Tutorial_Driving_GETIN
:
SCR_BaseTutorialStage
8
{
9
//------------------------------------------------------------------------------------------------
10
override
protected
void
Setup
()
11
{
12
if
(!
m_Player
.IsInVehicle())
13
{
14
IEntity
vehicle =
GetGame
().GetWorld().FindEntityByName(
"SmallJeep"
);
15
16
if
(!vehicle)
17
return
;
18
19
RegisterWaypoint
(vehicle,
""
,
"GETIN"
);
20
m_TutorialComponent
.ChangeVehicleLockState(
GetGame
().
GetWorld
().FindEntityByName(
"SmallJeep"
),
false
);
21
}
22
}
23
24
//------------------------------------------------------------------------------------------------
25
override
protected
bool
GetIsFinished
()
26
{
27
if
(
m_Player
.IsInVehicle())
28
return
true
;
29
else
30
return
m_Player
.IsInVehicle() && (
m_sLastFinishedEvent
==
"SOUND_TUTORIAL_TA_DRIVING_COURSE_IN_INSTRUCTOR_F_02"
||
GetDuration
() > 6000);
31
}
32
};
GetGame
ArmaReforgerScripted GetGame()
Definition
game.c:1398
EntityEditorProps
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
Definition
SCR_CompassComponent.c:10
IEntity::IEntity
void IEntity(IEntitySource src, IEntity parent)
protected script Constructor
IEntity::GetWorld
proto external BaseWorld GetWorld()
SCR_BaseTutorialStageClass
Definition
SCR_BaseTutorialStage.c:3
SCR_BaseTutorialStage
Definition
SCR_BaseTutorialStage.c:8
SCR_BaseTutorialStage::m_Player
ChimeraCharacter m_Player
Definition
SCR_BaseTutorialStage.c:27
SCR_BaseTutorialStage::m_sLastFinishedEvent
string m_sLastFinishedEvent
Definition
SCR_BaseTutorialStage.c:21
SCR_BaseTutorialStage::GetDuration
float GetDuration()
Definition
SCR_BaseTutorialStage.c:42
SCR_BaseTutorialStage::m_TutorialComponent
SCR_TutorialGamemodeComponent m_TutorialComponent
Definition
SCR_BaseTutorialStage.c:29
SCR_BaseTutorialStage::RegisterWaypoint
SCR_Waypoint RegisterWaypoint(string entityName, string title=string.Empty, string icon="MISC")
Definition
SCR_BaseTutorialStage.c:293
SCR_Tutorial_Driving_GETINClass
Definition
SCR_Tutorial_Driving_GETIN.c:3
SCR_Tutorial_Driving_GETIN
Definition
SCR_Tutorial_Driving_GETIN.c:8
SCR_Tutorial_Driving_GETIN::Setup
void Setup()
Definition
SCR_Tutorial_Driving_GETIN.c:10
SCR_Tutorial_Driving_GETIN::GetIsFinished
bool GetIsFinished()
Definition
SCR_Tutorial_Driving_GETIN.c:25
scripts
Game
GameMode
Tutorial
Stages
DrivingSimple
SCR_Tutorial_Driving_GETIN.c
Generated by
1.17.0