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

◆ HandleDeath()

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

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

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

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

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