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

◆ HandleDeath()

bool DayZCreatureAI::HandleDeath ( int currentCommandID,
DayZAnimalInputController inputController )
inlineprotected

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

746 {
747 if (inputController.IsDead())
748 {
749 if (currentCommandID == DayZAnimalConstants.COMMANDID_DEATH)
750 {
751 return true;
752 }
753
755 {
756 m_DamageHitToProcess = false;
757
759 }
760 else
761 {
762 StartCommand_Death(0, 0);
763 }
764
765 return true;
766 }
767
768 return false;
769 }
proto native bool IsDead()
int m_DamageHitType
Определения DayZAnimal.c:742
bool m_DamageHitToProcess
Определения DayZAnimal.c:741
proto native void StartCommand_Death(int pType, int pDirection)
int m_DamageHitDirection
Определения DayZAnimal.c:743

Перекрестные ссылки DayZAnimalInputController::IsDead(), m_DamageHitDirection, m_DamageHitToProcess, m_DamageHitType и StartCommand_Death().

Используется в CommandHandler().