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

◆ IsLanded()

override bool ManBase::IsLanded ( int pCurrentCommandID)
inlineprotected

Handle fall damage for unconscious

No fall damage for players currently being damaged, animation is temporary

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

3458 {
3459 if (super.IsLanded(pCurrentCommandID))
3460 {
3461 return true;
3462 }
3463
3465 if (pCurrentCommandID == DayZPlayerConstants.COMMANDID_UNCONSCIOUS)
3466 {
3467 bool wasFalling = m_IsUnconsciousFalling;
3468 m_IsUnconsciousFalling = PhysicsIsFalling(false);
3469 return wasFalling && !m_IsUnconsciousFalling;
3470 }
3471
3473
3474 return false;
3475 }
DayZPlayerConstants
defined in C++
Определения dayzplayer.c:602