DayZ
1.29
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
PlayDrowningSound()
void DrowningMdfr::PlayDrowningSound
(
int
index
)
inline
private
См. определение в файле
Drowning.c
строка
55
56
{
57
if
(
m_Player
.m_IsDrowning)
//check if we are still drowning after the delay
58
{
59
if
(index == 0)
60
{
61
m_Player
.RequestSoundEventEx(
EPlayerSoundEventID
.EXHAUSTED_BREATH,
false
, EPlayerSoundEventParam.HIGHEST_PRIORITY);
62
}
63
else
if
(index == 1)
64
{
65
m_Player
.RequestSoundEventEx(
EPlayerSoundEventID
.DROWNING_BREATH,
false
, EPlayerSoundEventParam.HIGHEST_PRIORITY);
66
}
67
}
68
}
m_Player
map m_Player
EPlayerSoundEventID
EPlayerSoundEventID
Определения
PlayerSoundEventHandler.c:3
Используется в
OnActivate()
.
DrowningMdfr
Создано системой
1.13.2