Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
ScenarioFrameworkActionCinematicTrack.c
Go to the documentation of this file.
1
[
CinematicTrackAttribute
(name:
"ScenarioFramework action cinematic track"
, description:
"Allows you to activate Scenario Framework actions defined on SCR_ScenarioFrameworkCinematicEntityComponent attached to CinematicEntity"
)]
2
class
ScenarioFrameworkActionCinematicTrack
:
CinematicTrackBase
3
{
4
5
[
Attribute
(defvalue:
""
,
desc
:
"Name of action sequence defined in SCR_ScenarioFrameworkCinematicEntityComponent"
)]
6
protected
string
m_sActionSequenceName
;
7
8
private
World
actualWorld;
9
10
//------------------------------------------------------------------------------------------------
11
[
CinematicEventAttribute
()]
12
void
Launch()
13
{
14
if
(!
GetGame
().GetWorld())
15
return
;
16
17
IEntity
entity;
18
entity = actualWorld.FindEntityByName(GetSceneName());
19
20
if
(!entity)
21
return
;
22
23
SCR_ScenarioFrameworkCinematicEntityComponent sfComponent = SCR_ScenarioFrameworkCinematicEntityComponent.Cast(entity.
FindComponent
(SCR_ScenarioFrameworkCinematicEntityComponent));
24
if
(sfComponent)
25
sfComponent.ActivateAction(
m_sActionSequenceName
);
26
}
27
28
override
void
OnInit
(
World
world)
29
{
30
actualWorld = world;
31
}
32
33
}
GetGame
ArmaReforgerScripted GetGame()
Definition
game.c:1398
CinematicEventAttribute
void CinematicEventAttribute(string name="")
Definition
attributes.c:18
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
CinematicTrackAttribute
Definition
attributes.c:3
CinematicTrackBase
Definition
CinematicTrackBase.c:8
IEntity
Definition
IEntity.c:13
IEntity::FindComponent
proto external Managed FindComponent(typename typeName)
ScenarioFrameworkActionCinematicTrack
Definition
ScenarioFrameworkActionCinematicTrack.c:3
ScenarioFrameworkActionCinematicTrack::m_sActionSequenceName
string m_sActionSequenceName
Definition
ScenarioFrameworkActionCinematicTrack.c:6
World
Definition
World.c:16
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
OnInit
@ OnInit
Definition
SndComponentCallbacks.c:17
scripts
Game
Cinematics
ScenarioFrameworkActionCinematicTrack.c
Generated by
1.17.0