Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
symptomevents.c
Go to the documentation of this file.
1
class
SymptomSoundEventBase
extends
PlayerSoundEventBase
2
{
3
void
SymptomSoundEventBase
()
4
{
5
m_Type
=
EPlayerSoundEventType
.GENERAL;
6
m_HasPriorityOverTypes
= -1;
7
}
8
9
override
bool
HasPriorityOverCurrent
(
PlayerBase
player,
EPlayerSoundEventID
other_state_id,
EPlayerSoundEventType
type_other)
10
{
11
return
true
;
12
}
13
}
14
15
class
CoughSoundEvent
extends
SymptomSoundEventBase
16
{
17
void
CoughSoundEvent
()
18
{
19
m_ID
=
EPlayerSoundEventID
.SYMPTOM_COUGH;
20
m_SoundVoiceAnimEventClassID
= 8;
21
}
22
}
23
24
class
LaugherSoundEvent
extends
SymptomSoundEventBase
25
{
26
void
LaugherSoundEvent
()
27
{
28
m_ID
=
EPlayerSoundEventID
.SYMPTOM_LAUGHTER;
29
m_SoundVoiceAnimEventClassID
= 10;
30
}
31
}
32
33
class
SneezeSoundEvent
extends
SymptomSoundEventBase
34
{
35
void
SneezeSoundEvent
()
36
{
37
m_ID
=
EPlayerSoundEventID
.SYMPTOM_SNEEZE;
38
m_SoundVoiceAnimEventClassID
= 9;
39
}
40
}
41
42
class
GaspSoundEvent
extends
SymptomSoundEventBase
43
{
44
void
GaspSoundEvent
()
45
{
46
m_ID
=
EPlayerSoundEventID
.SYMPTOM_GASP;
47
m_SoundVoiceAnimEventClassID
= 904;
48
}
49
}
50
51
class
FatigueSoundEvent
extends
SymptomSoundEventBase
52
{
53
void
FatigueSoundEvent
()
54
{
55
m_ID
=
EPlayerSoundEventID
.SYMPTOM_FATIGUE;
56
m_SoundVoiceAnimEventClassID
= 2;
57
}
58
59
override
void
OnPlay
(
PlayerBase
player)
60
{
61
super.OnPlay(player);
62
}
63
64
}
m_Type
eBleedingSourceType m_Type
Definition
bleedingsource.c:25
PlayerBase
Definition
playerbaseclient.c:2
PlayerSoundEventBase
Definition
damageevents.c:2
PlayerSoundEventBase::HasPriorityOverCurrent
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
Definition
symptomevents.c:9
PlayerSoundEventBase::SymptomSoundEventBase
void SymptomSoundEventBase()
Definition
symptomevents.c:3
SymptomSoundEventBase
Definition
symptomevents.c:25
SymptomSoundEventBase::GaspSoundEvent
void GaspSoundEvent()
Definition
symptomevents.c:44
SymptomSoundEventBase::LaugherSoundEvent
void LaugherSoundEvent()
Definition
symptomevents.c:26
m_ID
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it).
Definition
effect.c:51
OnPlay
void OnPlay()
Definition
sound.c:206
EPlayerSoundEventType
EPlayerSoundEventType
Definition
playersoundeventbase.c:2
m_HasPriorityOverTypes
EPlayerSoundEventType m_HasPriorityOverTypes
Definition
playersoundeventbase.c:41
EPlayerSoundEventID
EPlayerSoundEventID
Definition
playersoundeventhandler.c:3
m_SoundVoiceAnimEventClassID
int m_SoundVoiceAnimEventClassID
Definition
soundevents.c:89
CoughSoundEvent
class SymptomSoundEventBase extends PlayerSoundEventBase CoughSoundEvent()
Definition
symptomevents.c:17
FatigueSoundEvent
class GaspSoundEvent extends SymptomSoundEventBase FatigueSoundEvent()
Definition
symptomevents.c:53
SneezeSoundEvent
class LaugherSoundEvent extends SymptomSoundEventBase SneezeSoundEvent()
Definition
symptomevents.c:35
GaspSoundEvent
void GaspSoundEvent()
Definition
symptomevents.c:54
Games
Dayz
scripts
4_world
classes
soundevents
playersoundevents
events
symptomevents.c
Generated by
1.17.0