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_CinematicTrackBase.c
Go to the documentation of this file.
1
[
CinematicTrackAttribute
(name:
""
, description:
""
)]
2
class
SCR_CinematicTrackBase
:
CinematicTrackBase
3
{
4
protected
World
m_World
;
5
6
override
void
OnInit
(
World
world)
7
{
8
super.OnInit(world);
9
m_World
= world;
10
}
11
12
IEntity
FindOwner
()
13
{
14
if
(!
m_World
)
15
{
16
return
null;
17
}
18
19
// Get entity name from track name
20
TStringArray
strs =
new
TStringArray
;
21
GetTrackName().Split(
"_"
, strs,
true
);
22
23
return
m_World
.FindEntityByName(strs.Get(0));
24
}
25
26
IEntity
FindOwner
(
string
ownerName)
27
{
28
if
(!
m_World
)
29
{
30
return
null;
31
}
32
33
return
m_World
.FindEntityByName(ownerName);
34
}
35
}
CinematicTrackAttribute
Definition
attributes.c:3
CinematicTrackBase
Definition
CinematicTrackBase.c:8
IEntity
Definition
IEntity.c:13
SCR_CinematicTrackBase
Definition
SCR_CinematicTrackBase.c:3
SCR_CinematicTrackBase::FindOwner
IEntity FindOwner()
Definition
SCR_CinematicTrackBase.c:12
SCR_CinematicTrackBase::m_World
World m_World
Definition
SCR_CinematicTrackBase.c:4
SCR_CinematicTrackBase::FindOwner
IEntity FindOwner(string ownerName)
Definition
SCR_CinematicTrackBase.c:26
SCR_CinematicTrackBase::OnInit
override void OnInit(World world)
Definition
SCR_CinematicTrackBase.c:6
World
Definition
World.c:16
TStringArray
array< string > TStringArray
Definition
Types.c:385
scripts
Game
Cinematics
SCR_CinematicTrackBase.c
Generated by
1.17.0