DayZ 1.28
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 строка 3324

3325 {
3326 if (super.IsLanded(pCurrentCommandID))
3327 {
3328 return true;
3329 }
3330
3332 if (pCurrentCommandID == DayZPlayerConstants.COMMANDID_UNCONSCIOUS)
3333 {
3334 bool wasFalling = m_IsUnconsciousFalling;
3335 m_IsUnconsciousFalling = PhysicsIsFalling(false);
3336 return wasFalling && !m_IsUnconsciousFalling;
3337 }
3338
3340
3341 return false;
3342 }
DayZPlayerConstants
defined in C++
Определения dayzplayer.c:602