DayZ 1.24
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
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;
eBleedingSourceType m_Type
class DrowningSoundEventBase extends PlayerSoundEventBase DrowningEvent1()
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:83
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
override bool CanPlay(PlayerBase player)