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_CombatEngineering_Move_1.c
Go to the documentation of this file.
1
[
EntityEditorProps
(insertable:
false
)]
2
class
SCR_Tutorial_CombatEngineering_Move_1Class
:
SCR_BaseTutorialStageClass
3
{
4
};
5
6
//------------------------------------------------------------------------------------------------
7
class
SCR_Tutorial_CombatEngineering_Move_1
:
SCR_BaseTutorialStage
8
{
9
10
//------------------------------------------------------------------------------------------------
11
override
protected
void
Setup
()
12
{
13
RegisterWaypoint
(
"WP_CE_PATH1"
);
14
15
SCR_Waypoint
wp =
RegisterWaypoint
(
"WP_CE_PATH6"
);
16
if
(wp)
17
wp.
m_iMaximumDrawDistance
= 50;
18
19
CreateMarkerPath
(
"CE_PATH_DOTS"
);
20
CreateMarkerCustom
(
"WP_CE_PATH6"
, SCR_EScenarioFrameworkMarkerCustom.OBJECTIVE_MARKER, SCR_EScenarioFrameworkMarkerCustomColor.REFORGER_ORANGE);
21
}
22
23
//------------------------------------------------------------------------------------------------
24
override
protected
void
OnStageFinished
()
25
{
26
if
(!
m_TutorialComponent
)
27
return
;
28
29
IEntity
wpPos =
m_ReachedWaypoint
.GetAttachedEntity();
30
if
(wpPos.
GetName
() ==
"WP_CE_PATH6"
)
31
m_TutorialComponent
.SetStage(
"StopAndGetOut"
);
32
else
33
m_TutorialComponent
.FinishStage();
34
}
35
};
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::GetName
proto external string GetName()
SCR_BaseTutorialStageClass
Definition
SCR_BaseTutorialStage.c:3
SCR_BaseTutorialStage
Definition
SCR_BaseTutorialStage.c:8
SCR_BaseTutorialStage::CreateMarkerPath
void CreateMarkerPath(string pathEntityName)
Definition
SCR_BaseTutorialStage.c:48
SCR_BaseTutorialStage::CreateMarkerCustom
SCR_MapMarkerBase CreateMarkerCustom(string entityName, SCR_EScenarioFrameworkMarkerCustom icon, SCR_EScenarioFrameworkMarkerCustomColor color, string name=string.Empty)
Definition
SCR_BaseTutorialStage.c:65
SCR_BaseTutorialStage::m_TutorialComponent
SCR_TutorialGamemodeComponent m_TutorialComponent
Definition
SCR_BaseTutorialStage.c:29
SCR_BaseTutorialStage::m_ReachedWaypoint
SCR_Waypoint m_ReachedWaypoint
Definition
SCR_BaseTutorialStage.c:25
SCR_BaseTutorialStage::RegisterWaypoint
SCR_Waypoint RegisterWaypoint(string entityName, string title=string.Empty, string icon="MISC")
Definition
SCR_BaseTutorialStage.c:293
SCR_Tutorial_CombatEngineering_Move_1Class
Definition
SCR_Tutorial_CombatEngineering_Move_1.c:3
SCR_Tutorial_CombatEngineering_Move_1
Definition
SCR_Tutorial_CombatEngineering_Move_1.c:8
SCR_Tutorial_CombatEngineering_Move_1::Setup
void Setup()
Definition
SCR_Tutorial_CombatEngineering_Move_1.c:11
SCR_Tutorial_CombatEngineering_Move_1::OnStageFinished
void OnStageFinished()
Definition
SCR_Tutorial_CombatEngineering_Move_1.c:24
SCR_Waypoint
Definition
SCR_Waypoint.c:3
SCR_Waypoint::m_iMaximumDrawDistance
int m_iMaximumDrawDistance
Definition
SCR_Waypoint.c:16
scripts
Game
GameMode
Tutorial
Stages
CombatEngineeringCourse
SCR_Tutorial_CombatEngineering_Move_1.c
Generated by
1.17.0