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

◆ HandleDeath()

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

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

792 {
793 if (inputController.IsDead())
794 {
795 if (currentCommandID == DayZAnimalConstants.COMMANDID_DEATH)
796 {
797 return true;
798 }
799
801 {
802 m_DamageHitToProcess = false;
803
805 }
806 else
807 {
808 StartCommand_Death(0, 0);
809 }
810
811 return true;
812 }
813
814 return false;
815 }
proto native bool IsDead()
int m_DamageHitType
Определения DayZAnimal.c:788
bool m_DamageHitToProcess
Определения DayZAnimal.c:787
proto native void StartCommand_Death(int pType, int pDirection)
int m_DamageHitDirection
Определения DayZAnimal.c:789

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

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