Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
injuryevents.c
Go to the documentation of this file.
1
class
InjurySoundEvents
extends
PlayerSoundEventBase
2
{
3
4
void
InjurySoundEvents
()
5
{
6
m_HasPriorityOverTypes
= -1;
//-1 for all
7
m_Type
=
EPlayerSoundEventType
.INJURY;
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
InjuryLightSoundEvent
extends
InjurySoundEvents
22
{
23
void
InjuryLightSoundEvent
()
24
{
25
26
m_ID
=
EPlayerSoundEventID
.INJURED_LIGHT;
27
m_SoundVoiceAnimEventClassID
= 28;
28
}
29
}
30
31
class
InjuryMediumSoundEvent
extends
InjurySoundEvents
32
{
33
void
InjuryMediumSoundEvent
()
34
{
35
36
m_ID
=
EPlayerSoundEventID
.INJURED_MEDIUM;
37
m_SoundVoiceAnimEventClassID
= 28;
38
}
39
}
40
41
class
InjuryHeavySoundEvent
extends
InjurySoundEvents
42
{
43
void
InjuryHeavySoundEvent
()
44
{
45
m_ID
=
EPlayerSoundEventID
.INJURED_HIGH;
46
m_SoundVoiceAnimEventClassID
= 28;
47
}
48
}
49
m_Type
eBleedingSourceType m_Type
Definition
bleedingsource.c:25
InjurySoundEvents
Definition
injuryevents.c:32
InjurySoundEvents::InjuryMediumSoundEvent
void InjuryMediumSoundEvent()
Definition
injuryevents.c:33
PlayerBase
Definition
playerbaseclient.c:2
PlayerSoundEventBase
Definition
damageevents.c:2
PlayerSoundEventBase::InjurySoundEvents
void InjurySoundEvents()
Definition
injuryevents.c:4
PlayerSoundEventBase::HasPriorityOverCurrent
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
Definition
injuryevents.c:15
PlayerSoundEventBase::CanPlay
override bool CanPlay(PlayerBase player)
Definition
injuryevents.c:10
m_ID
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it).
Definition
effect.c:51
InjuryHeavySoundEvent
class InjuryMediumSoundEvent extends InjurySoundEvents InjuryHeavySoundEvent()
Definition
injuryevents.c:43
InjuryLightSoundEvent
class InjurySoundEvents extends PlayerSoundEventBase InjuryLightSoundEvent()
Definition
injuryevents.c:23
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
Games
Dayz
scripts
4_world
classes
soundevents
playersoundevents
events
injuryevents.c
Generated by
1.17.0