Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
TimecodeCinematicTrack.c
Go to the documentation of this file.
1
[
CinematicTrackAttribute
(name:
"Timecode Track"
, description:
"Track used for showing timecode"
)]
2
class
TimecodeCinematicTrack
:
CinematicTrackBase
3
{
4
[
Attribute
(
"false"
)]
5
bool
m_bPlay;
6
7
private
World
globalWorld;
8
private
int
frame;
9
10
override
void
OnInit
(
World
world)
11
{
12
13
globalWorld = world;
14
}
15
16
override
void
OnApply(
float
time)
17
{
18
19
if
(m_bPlay)
20
{
21
frame =
Math
.Round(time * 60);
22
DebugTextScreenSpace
.Create(globalWorld, frame.ToString(),
DebugTextFlags
.ONCE, 20, 20);
23
}
24
}
25
}
CinematicTrackAttribute
Definition
attributes.c:3
CinematicTrackBase
Definition
CinematicTrackBase.c:8
DebugTextScreenSpace
Definition
DebugTextScreenSpace.c:13
Math
Definition
Math.c:13
TimecodeCinematicTrack
Definition
TimecodeCinematicTrack.c:3
World
Definition
World.c:16
DebugTextFlags
DebugTextFlags
Definition
DebugTextFlags.c:13
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
OnInit
@ OnInit
Definition
SndComponentCallbacks.c:17
scripts
Game
Cinematics
TimecodeCinematicTrack.c
Generated by
1.17.0