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_Heli_GETIN.c
Go to the documentation of this file.
1
[
EntityEditorProps
(insertable:
false
)]
2
class
SCR_Tutorial_Heli_GETINClass
:
SCR_BaseTutorialStageClass
3
{
4
};
5
6
//------------------------------------------------------------------------------------------------
7
class
SCR_Tutorial_Heli_GETIN
:
SCR_BaseTutorialStage
8
{
9
protected
Vehicle
m_Helicopter
;
10
//------------------------------------------------------------------------------------------------
11
override
protected
void
Setup
()
12
{
13
m_Helicopter
=
Vehicle
.Cast(
GetGame
().
GetWorld
().FindEntityByName(
"UH1COURSE"
));
14
if
(!
m_Helicopter
)
15
return
;
16
17
RegisterWaypoint
(
m_Helicopter
,
""
,
"GETIN"
).
SetOffsetVector
(
"0 5 0"
);;
18
m_TutorialComponent
.ChangeVehicleLockState(
m_Helicopter
,
false
);
19
20
GetGame
().GetCallqueue().CallLater(
PlayNarrativeCharacterStage
, 500,
false
,
"Soldier_Choppa"
, 1);
21
}
22
23
//------------------------------------------------------------------------------------------------
24
override
protected
bool
GetIsFinished
()
25
{
26
if
(!
m_Helicopter
)
27
return
false
;
28
29
return
m_Helicopter
.GetPilot() ==
m_Player
;
30
}
31
};
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::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_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_BaseTutorialStage::PlayNarrativeCharacterStage
void PlayNarrativeCharacterStage(string characterName, int stage)
Definition
SCR_BaseTutorialStage.c:510
SCR_Tutorial_Heli_GETINClass
Definition
SCR_Tutorial_Heli_GETIN.c:3
SCR_Tutorial_Heli_GETIN
Definition
SCR_Tutorial_Heli_GETIN.c:8
SCR_Tutorial_Heli_GETIN::m_Helicopter
Vehicle m_Helicopter
Definition
SCR_Tutorial_Heli_GETIN.c:9
SCR_Tutorial_Heli_GETIN::GetIsFinished
bool GetIsFinished()
Definition
SCR_Tutorial_Heli_GETIN.c:24
SCR_Tutorial_Heli_GETIN::Setup
void Setup()
Definition
SCR_Tutorial_Heli_GETIN.c:11
SCR_Waypoint::SetOffsetVector
void SetOffsetVector(vector offset)
Definition
SCR_Waypoint.c:56
Vehicle
enum EPhysicsLayerPresets Vehicle
Definition
gameLib.c:24
scripts
Game
GameMode
Tutorial
Stages
Helicopters
SCR_Tutorial_Heli_GETIN.c
Generated by
1.17.0