DayZ 1.28
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnBleedingSourceAdded()

void ManBase::OnBleedingSourceAdded ( )
inlineprotected

См. определение в файле PlayerBase.c строка 7274

7275 {
7277 if (IsControlledPlayer())
7278 {
7279 if (!GetGame().IsDedicatedServer())
7280 {
7281 DisplayElementBadge dis_elm = DisplayElementBadge.Cast(GetVirtualHud().GetElement(eDisplayElements.DELM_BADGE_BLEEDING));
7282 if (dis_elm)
7283 {
7284 dis_elm.SetValue(GetBleedingSourceCount());
7285 }
7286
7287
7288 //Print("----------bleeding_SoundSet----------");
7289 SEffectManager.PlaySoundOnObject("bleeding_SoundSet", this);
7290 }
7291 }
7292 }
DisplayElementBase GetElement(eDisplayElements element_id)
Определения DisplayStatus.c:95
VirtualHud GetVirtualHud()
Определения PlayerBase.c:2667
int GetBleedingSourceCount()
Определения PlayerBase.c:7330
int m_BleedingSourceCount
Определения PlayerBase.c:137
proto native CGame GetGame()

Перекрестные ссылки GetBleedingSourceCount(), GetElement(), GetGame(), GetVirtualHud(), m_BleedingSourceCount и SEffectManager::PlaySoundOnObject().