Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
damageevents.c
Go to the documentation of this file.
1
class
DamageSoundEvents
extends
PlayerSoundEventBase
2
{
3
4
void
DamageSoundEvents
()
5
{
6
m_HasPriorityOverTypes
= -1;
//-1 for all
7
m_Type
=
EPlayerSoundEventType
.DAMAGE;
8
}
9
10
override
bool
CanPlay
(
PlayerBase
player)
11
{
12
return
true
;
13
}
14
15
override
bool
HasPriorityOverCurrent
(
PlayerBase
player,
EPlayerSoundEventID
other_state_id,
EPlayerSoundEventType
type_other)
16
{
17
return
true
;
18
}
19
}
20
21
class
DamageLightSoundEvent
extends
DamageSoundEvents
22
{
23
void
DamageLightSoundEvent
()
24
{
25
26
m_ID
=
EPlayerSoundEventID
.TAKING_DMG_LIGHT;
27
m_SoundVoiceAnimEventClassID
= 12;
28
}
29
}
30
31
class
DamageHeavySoundEvent
extends
DamageSoundEvents
32
{
33
void
DamageHeavySoundEvent()
34
{
35
m_ID
=
EPlayerSoundEventID
.TAKING_DMG_HEAVY;
36
m_SoundVoiceAnimEventClassID
= 13;
37
}
38
}
39
DamageLightSoundEvent
class DamageSoundEvents extends PlayerSoundEventBase DamageLightSoundEvent()
Definition:
damageevents.c:23
m_Type
eBleedingSourceType m_Type
Definition:
bleedingsource.c:25
HasPriorityOverCurrent
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
Definition:
damageevents.c:14
m_HasPriorityOverTypes
EPlayerSoundEventType m_HasPriorityOverTypes
Definition:
playersoundeventbase.c:40
PlayerBase
Definition:
playerbaseclient.c:1
PlayerSoundEventBase
Definition:
damageevents.c:1
CanPlay
override bool CanPlay(PlayerBase player)
Definition:
damageevents.c:9
EPlayerSoundEventType
EPlayerSoundEventType
Definition:
playersoundeventbase.c:1
DamageSoundEvents
void DamageSoundEvents()
Definition:
damageevents.c:3
EPlayerSoundEventID
EPlayerSoundEventID
Definition:
playersoundeventhandler.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_SoundVoiceAnimEventClassID
int m_SoundVoiceAnimEventClassID
Definition:
soundevents.c:5
DamageSoundEvents
Definition:
damageevents.c:31
DAYZ
scripts_v1.24.157551
scripts
world
classes
soundevents
playersoundevents
events
damageevents.c
Generated by
1.8.17