DayZ
1.24
Loading...
Searching...
No Matches
DrowningEvents.c
Go to the documentation of this file.
1
class
DrowningSoundEventBase
extends
PlayerSoundEventBase
2
{
3
void
DrowningEvents
()
4
{
5
m_HasPriorityOverTypes
= -1;
//-1 for all
6
m_Type
=
EPlayerSoundEventType
.DROWNING;
7
}
8
9
override
bool
CanPlay
(
PlayerBase
player
)
10
{
11
return
true
;
12
}
13
14
override
bool
HasPriorityOverCurrent
(
PlayerBase
player
,
EPlayerSoundEventID
other_state_id
,
EPlayerSoundEventType
type_other
)
15
{
16
return
true
;
17
}
18
}
19
20
class
DrowningEvent1
extends
DrowningSoundEventBase
21
{
22
void
DrowningEvent1
()
23
{
24
m_ID
=
EPlayerSoundEventID
.DROWNING_BREATH;
25
m_SoundVoiceAnimEventClassID
= 901;
26
}
27
}
28
29
class
DrowningEvent2
extends
DrowningSoundEventBase
30
{
31
void
DrowningEvent2
()
32
{
33
m_ID
=
EPlayerSoundEventID
.DROWNING_PAIN;
34
m_SoundVoiceAnimEventClassID
= 900;
35
}
36
}
m_Type
eBleedingSourceType m_Type
Definition
BleedingSource.c:25
DrowningEvent1
class DrowningSoundEventBase extends PlayerSoundEventBase DrowningEvent1()
Definition
DrowningEvents.c:22
m_ID
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition
Effect.c:49
EPlayerSoundEventType
EPlayerSoundEventType
Definition
PlayerSoundEventBase.c:2
m_HasPriorityOverTypes
EPlayerSoundEventType m_HasPriorityOverTypes
Definition
PlayerSoundEventBase.c:40
EPlayerSoundEventID
EPlayerSoundEventID
Definition
PlayerSoundEventHandler.c:2
m_SoundVoiceAnimEventClassID
int m_SoundVoiceAnimEventClassID
Definition
SoundEvents.c:83
DrowningSoundEventBase
Definition
DrowningEvents.c:30
DrowningSoundEventBase::DrowningEvent2
void DrowningEvent2()
Definition
DrowningEvents.c:31
Param3
Definition
EntityAI.c:95
PlayerBase
Definition
PlayerBaseClient.c:2
PlayerSoundEventBase
Definition
DamageEvents.c:2
PlayerSoundEventBase::DrowningEvents
void DrowningEvents()
Definition
DrowningEvents.c:3
PlayerSoundEventBase::HasPriorityOverCurrent
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
Definition
DrowningEvents.c:14
PlayerSoundEventBase::CanPlay
override bool CanPlay(PlayerBase player)
Definition
DrowningEvents.c:9
scripts
4_World
Classes
SoundEvents
PlayerSoundEvents
Events
DrowningEvents.c
Generated by
1.10.0