Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
PlayNextTimelineCinematicTrack.c
Go to the documentation of this file.
1[CinematicTrackAttribute(name:"Play Next Cinematic Track", description:"Track used for playing another cinematic track")]
3{
4 [Attribute("")]
5 string m_sCinematicScene;
6
7 private ChimeraWorld globalWorld;
8 private CinematicEntity cineToPlay;
9
11 void PlayNext()
12 {
13 cineToPlay = CinematicEntity.Cast(globalWorld.FindEntityByName(m_sCinematicScene));
14 if (cineToPlay)
15 cineToPlay.Play();
16 }
17
18 override void OnFinish()
19 {
20 PlayNext();
21 }
22
23 override void OnInit(World world)
24 {
25 globalWorld = world;
26 }
27}
void CinematicEventAttribute(string name="")
Definition attributes.c:18
Definition World.c:16
SCR_FieldOfViewSettings Attribute