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_Seizing_Move.c
Go to the documentation of this file.
1
[
EntityEditorProps
(insertable:
false
)]
2
class
SCR_Tutorial_Seizing_MoveClass
:
SCR_BaseTutorialStageClass
3
{
4
};
5
6
//------------------------------------------------------------------------------------------------
7
class
SCR_Tutorial_Seizing_Move
:
SCR_BaseTutorialStage
8
{
9
//------------------------------------------------------------------------------------------------
10
void
OnMapOpen(
MapConfiguration
config)
11
{
12
ShowHint
(1);
13
14
SCR_MapEntity
.
GetOnMapOpen
().Remove(OnMapOpen);
15
}
16
17
//------------------------------------------------------------------------------------------------
18
void
OnMapClosed(
MapConfiguration
config)
19
{
20
ShowHint
(2);
21
22
SCR_MapEntity
.
GetOnMapClose
().Remove(OnMapClosed);
23
}
24
25
//------------------------------------------------------------------------------------------------
26
protected
void
DelayedSpeech
()
27
{
28
if
(
vector
.Distance(
m_Player
.GetOrigin(),
GetGame
().
GetWorld
().FindEntityByName(
"SpawnPos_CONFLICT_InstructorB"
).
GetOrigin
()) < 50)
29
return
;
30
31
SCR_VoiceoverSystem
.
GetInstance
().
PlaySequence
(
"OneMoreThing"
);
32
GetGame
().GetCallqueue().Remove(
DelayedSpeech
);
33
}
34
35
//------------------------------------------------------------------------------------------------
36
override
protected
void
Setup
()
37
{
38
RegisterWaypoint
(
"WP_SEIZING_1"
);
39
CreateMarkerPath
(
"SEIZING_PATH_DOTS"
);
40
41
GetGame
().GetCallqueue().CallLater(
DelayedSpeech
, 1000,
true
);
42
43
SCR_MapEntity
.
GetOnMapOpen
().Insert(OnMapOpen);
44
SCR_MapEntity
.
GetOnMapClose
().Insert(OnMapClosed);
45
}
46
47
//------------------------------------------------------------------------------------------------
48
void
~SCR_Tutorial_Seizing_Move
()
49
{
50
GetGame
().GetCallqueue().Remove(
DelayedSpeech
);
51
}
52
};
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
ShowHint
void ShowHint()
Definition
SCR_PerceivedFactionManagerComponent.c:54
IEntity::GetOrigin
proto external vector GetOrigin()
IEntity::GetWorld
proto external BaseWorld GetWorld()
MapConfiguration
Definition
MapConfiguration.c:3
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::CreateMarkerPath
void CreateMarkerPath(string pathEntityName)
Definition
SCR_BaseTutorialStage.c:48
SCR_BaseTutorialStage::RegisterWaypoint
SCR_Waypoint RegisterWaypoint(string entityName, string title=string.Empty, string icon="MISC")
Definition
SCR_BaseTutorialStage.c:293
SCR_MapEntity
Definition
SCR_MapEntity.c:18
SCR_MapEntity::GetOnMapClose
static ScriptInvokerBase< MapConfigurationInvoker > GetOnMapClose()
Get on map close invoker.
Definition
SCR_MapEntity.c:92
SCR_MapEntity::GetOnMapOpen
static ScriptInvokerBase< MapConfigurationInvoker > GetOnMapOpen()
Get on map open invoker.
Definition
SCR_MapEntity.c:88
SCR_Tutorial_Seizing_MoveClass
Definition
SCR_Tutorial_Seizing_Move.c:3
SCR_Tutorial_Seizing_Move
Definition
SCR_Tutorial_Seizing_Move.c:8
SCR_Tutorial_Seizing_Move::DelayedSpeech
void DelayedSpeech()
Definition
SCR_Tutorial_Seizing_Move.c:26
SCR_Tutorial_Seizing_Move::Setup
void Setup()
Definition
SCR_Tutorial_Seizing_Move.c:36
SCR_Tutorial_Seizing_Move::~SCR_Tutorial_Seizing_Move
void ~SCR_Tutorial_Seizing_Move()
Definition
SCR_Tutorial_Seizing_Move.c:48
SCR_VoiceoverSystem
Definition
SCR_VoiceoverSystem.c:3
SCR_VoiceoverSystem::GetInstance
static SCR_VoiceoverSystem GetInstance()
Definition
SCR_VoiceoverSystem.c:159
SCR_VoiceoverSystem::PlaySequence
void PlaySequence(string sequenceName, IEntity actor1=null, IEntity actor2=null, IEntity actor3=null, IEntity actor4=null, IEntity actor5=null, bool playImmediately=true)
Plays a sequence of voiceover lines defined in loaded config (see SetData).
Definition
SCR_VoiceoverSystem.c:300
vector
Definition
vector.c:13
scripts
Game
GameMode
Tutorial
Stages
Conflict
SCR_Tutorial_Seizing_Move.c
Generated by
1.17.0