DayZ 1.27
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 строка 3343

3344 {
3345 if (super.IsLanded(pCurrentCommandID))
3346 {
3347 return true;
3348 }
3349
3351 if (pCurrentCommandID == DayZPlayerConstants.COMMANDID_UNCONSCIOUS)
3352 {
3353 bool wasFalling = m_IsUnconsciousFalling;
3354 m_IsUnconsciousFalling = PhysicsIsFalling(false);
3355 return wasFalling && !m_IsUnconsciousFalling;
3356 }
3357
3359
3360 return false;
3361 }
DayZPlayerConstants
defined in C++
Определения dayzplayer.c:602