DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
 
Loading...
Searching...
No Matches
HoldBreathEvents.c
Go to the documentation of this file.
2{
4 {
6 }
7
8 override bool HasHoldBreathException()
9 {
10 return true;
11 }
12
13}
14
15
17{
19 {
21 m_ID = EPlayerSoundEventID.HOLD_BREATH;
23 }
25 override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
26 {
27 if (other_state_id == EPlayerSoundEventID.RELEASE_BREATH)
28 {
29 return false;
30 }
31 return true;
32 }
33}
34
36{
38 {
40 m_ID = EPlayerSoundEventID.EXHAUSTED_BREATH;
42 }
43
44 override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
45 {
46 return false;
47 }
48}
49
51{
53 {
55 m_ID = EPlayerSoundEventID.RELEASE_BREATH;
57 }
58
59 override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
60 {
61 if( other_state_id == EPlayerSoundEventID.HOLD_BREATH)
62 {
63 return false;
64 }
65 return true;
66 }
67}
eBleedingSourceType m_Type
protected int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
class ExhaustedBreathSoundEvent extends HoldBreathSoundEventBase ReleaseBreathSoundEvent()
class HoldBreathSoundEventBase extends PlayerSoundEventBase HoldBreathSoundEvent()
void ExhaustedBreathSoundEvent()
EPlayerSoundEventType
EPlayerSoundEventType m_HasPriorityOverTypes
int m_SoundVoiceAnimEventClassID
Definition SoundEvents.c:89
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
override bool HasHoldBreathException()