DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
 
Loading...
Searching...
No Matches
DrowningEvents.c
Go to the documentation of this file.
2{
4 {
5 m_HasPriorityOverTypes = -1;//-1 for all
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
21{
22 void DrowningEvent1()
23 {
24 m_ID = EPlayerSoundEventID.DROWNING_BREATH;
26 }
27}
28
29class DrowningEvent2 extends DrowningSoundEventBase
30{
32 {
33 m_ID = EPlayerSoundEventID.DROWNING_PAIN;
35 }
36}
eBleedingSourceType m_Type
class DrowningSoundEventBase extends PlayerSoundEventBase DrowningEvent1()
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
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
override bool CanPlay(PlayerBase player)