Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkActionPlayCinematic.c
Go to the documentation of this file.
3{
4 [Attribute(desc: "Cinematic to play.")]
5 string m_sCinematicTimeline;
6
7 //------------------------------------------------------------------------------------------------
8 override void OnActivate(IEntity object)
9 {
10 if (!CanActivate())
11 return;
12
13 ChimeraWorld world = GetGame().GetWorld();
14 if (!world)
15 return;
16
17 CinematicEntity cineToPlay = CinematicEntity.Cast(world.FindEntityByName(m_sCinematicTimeline));
18 if (cineToPlay)
19 cineToPlay.Play();
20 }
21}
ArmaReforgerScripted GetGame()
Definition game.c:1398
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override void OnActivate()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute