DayZ
1.24
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
HotSoundEvent
extends
HeatComfortEventsBase
26
{
27
void
HotSoundEvent
()
28
{
29
m_ID
=
EPlayerSoundEventID
.HOT;
30
m_SoundVoiceAnimEventClassID
= 30;
31
}
32
}
m_Type
eBleedingSourceType m_Type
Definition
BleedingSource.c:25
m_ID
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition
Effect.c:49
FreezingSoundEvent
class HeatComfortEventsBase extends PlayerSoundEventBase FreezingSoundEvent()
Definition
HeatComfortEvents.c:18
EPlayerSoundEventType
EPlayerSoundEventType
Definition
PlayerSoundEventBase.c:2
m_HasPriorityOverTypes
EPlayerSoundEventType m_HasPriorityOverTypes
Definition
PlayerSoundEventBase.c:40
EPlayerSoundEventID
EPlayerSoundEventID
Definition
PlayerSoundEventHandler.c:2
m_SoundVoiceAnimEventClassID
int m_SoundVoiceAnimEventClassID
Definition
SoundEvents.c:83
HeatComfortEventsBase
Definition
HeatComfortEvents.c:26
HeatComfortEventsBase::HotSoundEvent
void HotSoundEvent()
Definition
HeatComfortEvents.c:27
Param3
Definition
EntityAI.c:95
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
scripts
4_World
Classes
SoundEvents
PlayerSoundEvents
Events
HeatComfortEvents.c
Generated by
1.10.0