DayZ 1.24
Loading...
Searching...
No Matches
SymptomEvents.c
Go to the documentation of this file.
2{
8
13}
14
16{
17 void CoughSoundEvent()
18 {
19 m_ID = EPlayerSoundEventID.SYMPTOM_COUGH;
21 }
22}
23
25{
27 {
28 m_ID = EPlayerSoundEventID.SYMPTOM_LAUGHTER;
30 }
31}
32
34{
35 void SneezeSoundEvent()
36 {
37 m_ID = EPlayerSoundEventID.SYMPTOM_SNEEZE;
39 }
40}
41
42
43class FatigueSoundEvent extends SymptomSoundEventBase
44{
46 {
47 m_ID = EPlayerSoundEventID.SYMPTOM_FATIGUE;
49 }
50
51 override void OnPlay(PlayerBase player)
52 {
53 super.OnPlay(player);
54 }
55
56}
eBleedingSourceType m_Type
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
EPlayerSoundEventType
EPlayerSoundEventType m_HasPriorityOverTypes
int m_SoundVoiceAnimEventClassID
Definition SoundEvents.c:83
class SymptomSoundEventBase extends PlayerSoundEventBase CoughSoundEvent()
void LaugherSoundEvent()
class LaugherSoundEvent extends SymptomSoundEventBase SneezeSoundEvent()
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
override void OnPlay(PlayerBase player)