DayZ 1.30
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 строка 3711

3712 {
3713 if (super.IsLanded(pCurrentCommandID))
3714 {
3715 return true;
3716 }
3717
3719 if (pCurrentCommandID == DayZPlayerConstants.COMMANDID_UNCONSCIOUS)
3720 {
3721 bool wasFalling = m_IsUnconsciousFalling;
3722 m_IsUnconsciousFalling = PhysicsIsFalling(false);
3723 return wasFalling && !m_IsUnconsciousFalling;
3724 }
3725
3727
3728 return false;
3729 }
DayZPlayerConstants
defined in C++
Определения dayzplayer.c:602