DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
 
Loading...
Searching...
No Matches
DamageEvents.c
Go to the documentation of this file.
2{
3
5 {
6 m_HasPriorityOverTypes = -1;//-1 for all
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
22{
24 {
26 m_ID = EPlayerSoundEventID.TAKING_DMG_LIGHT;
28 }
29}
30
31class DamageHeavySoundEvent extends DamageSoundEvents
32{
34 {
35 m_ID = EPlayerSoundEventID.TAKING_DMG_HEAVY;
37 }
38}
39
eBleedingSourceType m_Type
class DamageSoundEvents extends PlayerSoundEventBase DamageLightSoundEvent()
protected 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:89
void DamageHeavySoundEvent()
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
override bool CanPlay(PlayerBase player)