Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
mindstates.c
Go to the documentation of this file.
1
class
MindStateSoundEventBase
extends
InfectedSoundEventBase
2
{
3
override
bool
CanPlay
()
4
{
5
if
( !super.CanPlay() )
6
{
7
return
false
;
8
}
9
return
true
;
10
}
11
}
12
13
class
CalmIdleSoundEvent
extends
MindStateSoundEventBase
14
{
15
void
CalmIdleSoundEvent
()
16
{
17
m_Type
=
EInfectedSoundEventType
.GENERAL;
18
m_ID
=
EInfectedSoundEventID
.MINDSTATE_CALM_IDLE;
19
m_SoundSetNameRoot
=
"CalmIdle"
;
20
}
21
}
22
23
class
CalmMoveSoundEvent
extends
MindStateSoundEventBase
24
{
25
void
CalmMoveSoundEvent
()
26
{
27
m_Type
=
EInfectedSoundEventType
.GENERAL;
28
m_ID
=
EInfectedSoundEventID
.MINDSTATE_CALM_MOVE;
29
m_SoundSetNameRoot
=
"CalmMove"
;
30
}
31
}
32
33
class
DisturbedIdleSoundEvent
extends
MindStateSoundEventBase
34
{
35
void
DisturbedIdleSoundEvent
()
36
{
37
m_Type
=
EInfectedSoundEventType
.GENERAL;
38
m_ID
=
EInfectedSoundEventID
.MINDSTATE_DISTURBED_IDLE;
39
m_SoundSetNameRoot
=
"DisturbedIdle"
;
40
}
41
}
42
43
class
ChaseMoveSoundEvent
extends
MindStateSoundEventBase
44
{
45
void
ChaseMoveSoundEvent
()
46
{
47
m_Type
=
EInfectedSoundEventType
.GENERAL;
48
m_ID
=
EInfectedSoundEventID
.MINDSTATE_CHASE_MOVE;
49
m_SoundSetNameRoot
=
"ChaseMove"
;
50
}
51
}
52
53
class
AlertedIdleSoundEvent
extends
MindStateSoundEventBase
54
{
55
void
AlertedIdleSoundEvent
()
56
{
57
m_Type
=
EInfectedSoundEventType
.GENERAL;
58
m_ID
=
EInfectedSoundEventID
.MINDSTATE_ALERTED_IDLE;
59
m_SoundSetNameRoot
=
"AlertedIdle"
;
60
}
61
}
62
63
class
AlertedMoveSoundEvent
extends
MindStateSoundEventBase
64
{
65
void
AlertedMoveSoundEvent()
66
{
67
m_Type
=
EInfectedSoundEventType
.GENERAL;
68
m_ID
=
EInfectedSoundEventID
.MINDSTATE_ALERTED_MOVE;
69
m_SoundSetNameRoot
=
"AlertedMove"
;
70
}
71
}
MindStateSoundEventBase
Definition:
mindstates.c:23
m_Type
eBleedingSourceType m_Type
Definition:
bleedingsource.c:25
CanPlay
override bool CanPlay()
Definition:
mindstates.c:2
EInfectedSoundEventType
EInfectedSoundEventType
Definition:
infectedsoundeventbase.c:1
AlertedIdleSoundEvent
class ChaseMoveSoundEvent extends MindStateSoundEventBase AlertedIdleSoundEvent()
Definition:
mindstates.c:55
CalmMoveSoundEvent
void CalmMoveSoundEvent()
Definition:
mindstates.c:2
ChaseMoveSoundEvent
void ChaseMoveSoundEvent()
Definition:
mindstates.c:2
InfectedSoundEventBase
Definition:
mindstates.c:1
DisturbedIdleSoundEvent
class CalmMoveSoundEvent extends MindStateSoundEventBase DisturbedIdleSoundEvent()
Definition:
mindstates.c:35
CalmIdleSoundEvent
class MindStateSoundEventBase extends InfectedSoundEventBase CalmIdleSoundEvent()
Definition:
mindstates.c:15
EInfectedSoundEventID
EInfectedSoundEventID
Definition:
infectedsoundeventhandler.c:1
m_ID
protected int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition:
effect.c:49
m_SoundSetNameRoot
string m_SoundSetNameRoot
Definition:
soundevents.c:7
DAYZ
scripts_v1.24.157551
scripts
world
classes
soundevents
infectedsoundevents
events
mindstates.c
Generated by
1.8.17