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_2.c
Go to the documentation of this file.
1
[
EntityEditorProps
(insertable:
false
)]
2
class
SCR_Tutorial_CombatEngineering_Move_2Class
:
SCR_BaseTutorialStageClass
3
{
4
};
5
6
//------------------------------------------------------------------------------------------------
7
class
SCR_Tutorial_CombatEngineering_Move_2
:
SCR_BaseTutorialStage
8
{
9
//------------------------------------------------------------------------------------------------
10
override
protected
void
Setup
()
11
{
12
RegisterWaypoint
(
"WP_CE_PATH2"
);
13
14
IEntity
wpEnt =
GetGame
().GetWorld().FindEntityByName(
"WP_CE_PATH6"
);
15
if
(wpEnt)
16
UnregisterWaypoint
(wpEnt);
17
18
SCR_Waypoint
wp =
RegisterWaypoint
(wpEnt);
19
if
(wp)
20
wp.
m_iMaximumDrawDistance
= 50
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
};
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::GetName
proto external string GetName()
SCR_BaseTutorialStageClass
Definition
SCR_BaseTutorialStage.c:3
SCR_BaseTutorialStage
Definition
SCR_BaseTutorialStage.c:8
SCR_BaseTutorialStage::UnregisterWaypoint
void UnregisterWaypoint(IEntity waypointEntity)
Definition
SCR_BaseTutorialStage.c:270
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_2Class
Definition
SCR_Tutorial_CombatEngineering_Move_2.c:3
SCR_Tutorial_CombatEngineering_Move_2
Definition
SCR_Tutorial_CombatEngineering_Move_2.c:8
SCR_Tutorial_CombatEngineering_Move_2::OnStageFinished
void OnStageFinished()
Definition
SCR_Tutorial_CombatEngineering_Move_2.c:24
SCR_Tutorial_CombatEngineering_Move_2::Setup
void Setup()
Definition
SCR_Tutorial_CombatEngineering_Move_2.c:10
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_2.c
Generated by
1.17.0