Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
heatcomfortevents.c
Go to the documentation of this file.
1
class
HeatComfortEventsBase
extends
PlayerSoundEventBase
2
{
3
4
void
HeatComfortEventsBase
()
5
{
6
m_HasPriorityOverTypes
=
EPlayerSoundEventType
.DUMMY |
EPlayerSoundEventType
.INJURY |
EPlayerSoundEventType
.STAMINA |
EPlayerSoundEventType
.GENERAL;
//-1 for all
7
m_Type
=
EPlayerSoundEventType
.GENERAL;
8
}
9
10
override
bool
HasPriorityOverCurrent
(
PlayerBase
player,
EPlayerSoundEventID
other_state_id,
EPlayerSoundEventType
type_other )
11
{
12
return
true
;
13
}
14
}
15
16
class
FreezingSoundEvent
extends
HeatComfortEventsBase
17
{
18
void
FreezingSoundEvent
()
19
{
20
m_ID
=
EPlayerSoundEventID
.FREEZING;
21
m_SoundVoiceAnimEventClassID
= 11;
22
}
23
}
24
25
class
RattlingTeethSoundEvent
extends
HeatComfortEventsBase
26
{
27
void
RattlingTeethSoundEvent
()
28
{
29
m_ID
=
EPlayerSoundEventID
.RATTLING_TEETH;
30
m_SoundVoiceAnimEventClassID
= 906;
31
}
32
}
33
34
class
HotSoundEvent
extends
HeatComfortEventsBase
35
{
36
void
HotSoundEvent
()
37
{
38
m_ID
=
EPlayerSoundEventID
.HOT;
39
m_SoundVoiceAnimEventClassID
= 30;
40
}
41
}
m_Type
eBleedingSourceType m_Type
Definition
bleedingsource.c:25
HeatComfortEventsBase
Definition
heatcomfortevents.c:26
HeatComfortEventsBase::RattlingTeethSoundEvent
void RattlingTeethSoundEvent()
Definition
heatcomfortevents.c:27
PlayerBase
Definition
playerbaseclient.c:2
PlayerSoundEventBase
Definition
damageevents.c:2
PlayerSoundEventBase::HasPriorityOverCurrent
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
Definition
heatcomfortevents.c:10
PlayerSoundEventBase::HeatComfortEventsBase
void HeatComfortEventsBase()
Definition
heatcomfortevents.c:4
m_ID
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it).
Definition
effect.c:51
HotSoundEvent
class RattlingTeethSoundEvent extends HeatComfortEventsBase HotSoundEvent()
Definition
heatcomfortevents.c:36
FreezingSoundEvent
class HeatComfortEventsBase extends PlayerSoundEventBase FreezingSoundEvent()
Definition
heatcomfortevents.c:18
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
heatcomfortevents.c
Generated by
1.17.0