DayZ
1.24
Loading...
Searching...
No Matches
ToggleSelections.c
Go to the documentation of this file.
1
class
ToggleAnimations
2
{
3
protected
string
m_ToggleOff
;
4
protected
string
m_ToggleOn
;
5
int
m_OpeningBit
;
6
//ref protected array<string> m_ToggleOffLinkedAnimations;
7
//ref protected array<string> m_ToggleOnLinkedAnimations;
8
9
void
ToggleAnimations
(
string
toggle_off
,
string
toggle_on
,
int
mask
,
array<string>
linked_anims_off
=
null
,
array<string>
linked_anims_on
=
null
)
10
{
11
m_ToggleOff
=
toggle_off
;
12
m_ToggleOn
=
toggle_on
;
13
m_OpeningBit
=
mask
;
14
//m_ToggleOffLinkedAnimations = linked_anims_off;
15
//m_ToggleOnLinkedAnimations = linked_anims_on;
16
}
17
18
string
GetToggleOff
()
19
{
20
return
m_ToggleOff
;
21
}
22
23
string
GetToggleOn
()
24
{
25
return
m_ToggleOn
;
26
}
27
28
int
GetOpeningBit
()
29
{
30
return
m_OpeningBit
;
31
}
32
33
/*array<string> GetLinkedOff()
34
{
35
return m_ToggleOffLinkedAnimations;
36
}
37
38
array<string> GetLinkedOn()
39
{
40
return m_ToggleOnLinkedAnimations;
41
}*/
42
}
Param3
Definition
EntityAI.c:95
ToggleAnimations
Definition
ToggleSelections.c:2
ToggleAnimations::m_OpeningBit
int m_OpeningBit
Definition
ToggleSelections.c:5
ToggleAnimations::GetOpeningBit
int GetOpeningBit()
Definition
ToggleSelections.c:28
ToggleAnimations::GetToggleOn
string GetToggleOn()
Definition
ToggleSelections.c:23
ToggleAnimations::ToggleAnimations
void ToggleAnimations(string toggle_off, string toggle_on, int mask, array< string > linked_anims_off=null, array< string > linked_anims_on=null)
Definition
ToggleSelections.c:9
ToggleAnimations::GetToggleOff
string GetToggleOff()
Definition
ToggleSelections.c:18
ToggleAnimations::m_ToggleOn
string m_ToggleOn
Definition
ToggleSelections.c:4
ToggleAnimations::m_ToggleOff
string m_ToggleOff
Definition
ToggleSelections.c:3
scripts
4_World
Classes
ToggleSelections.c
Generated by
1.10.0