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_LRS_Prone.c
Go to the documentation of this file.
1
[
EntityEditorProps
(insertable:
false
)]
2
class
SCR_Tutorial_LRS_ProneClass
:
SCR_BaseTutorialStageClass
3
{
4
}
5
6
class
SCR_Tutorial_LRS_Prone :
SCR_BaseTutorialStage
7
{
8
//------------------------------------------------------------------------------------------------
9
override
void
Setup
()
10
{
11
SCR_HintManagerComponent.HideHint();
12
SCR_HintManagerComponent.ClearLatestHint();
13
14
PlayNarrativeCharacterStage
(
"LONGRANGESHOOTING_Instructor"
, 4);
15
}
16
17
//------------------------------------------------------------------------------------------------
18
override
void
OnVoiceoverEventFinished
(
string
eventName)
19
{
20
if
(eventName ==
"SOUND_TUTORIAL_TA_SCOPE_PICKED_UP_INSTRUCTOR_K_04"
)
21
RegisterWaypoint
(
"LRS_mat"
);
22
}
23
24
//------------------------------------------------------------------------------------------------
25
override
bool
GetIsFinished
()
26
{
27
CharacterControllerComponent comp = CharacterControllerComponent.Cast(
m_Player
.FindComponent(CharacterControllerComponent));
28
29
if
(comp)
30
return
comp.GetStance() ==
ECharacterStance
.PRONE;
31
else
32
return
true
;
33
}
34
}
m_Player
ChimeraCharacter m_Player
Definition
SCR_CameraLimitedEditorComponent.c:26
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
SCR_BaseTutorialStageClass
Definition
SCR_BaseTutorialStage.c:3
SCR_BaseTutorialStage
Definition
SCR_BaseTutorialStage.c:8
SCR_BaseTutorialStage::Setup
void Setup()
Definition
SCR_BaseTutorialStage.c:208
SCR_BaseTutorialStage::OnVoiceoverEventFinished
void OnVoiceoverEventFinished(string eventName)
Definition
SCR_BaseTutorialStage.c:249
SCR_BaseTutorialStage::GetIsFinished
bool GetIsFinished()
Definition
SCR_BaseTutorialStage.c:214
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_LRS_ProneClass
Definition
SCR_Tutorial_LRS_Prone.c:3
ECharacterStance
ECharacterStance
Definition
ECharacterStance.c:13
scripts
Game
GameMode
Tutorial
Stages
ShootingLongRange
SCR_Tutorial_LRS_Prone.c
Generated by
1.17.0