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

◆ DeathUpdate()

override void DayZAnimal::DeathUpdate ( )
inlineprotected

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

27 {
28 EntityAI dead_entity = EntityAI.Cast( GetGame().CreateObjectEx( GetDeadItemName(), GetPosition(), ECE_OBJECT_SWAP, RF_ORIGINAL ) );
29 dead_entity.SetOrientation(GetOrientation());
30 MiscGameplayFunctions.TransferItemProperties(this,dead_entity,true,true,true,true);
32 dead_entity.SetHealthMax("","Health");
33
34 DeleteSafe();
35 }
class LogManager EntityAI
override string GetDeadItemName()
Определения AnimalBase.c:270
override bool KeepHealthOnReplace()
Определения AnimalBase.c:275
vector GetOrientation()
Определения AreaDamageManager.c:306
const int ECE_OBJECT_SWAP
Определения CentralEconomy.c:38
const int RF_ORIGINAL
Определения CentralEconomy.c:63
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки ECE_OBJECT_SWAP, AnimalBase::GetDeadItemName(), GetGame(), GetOrientation(), GetPosition, AnimalBase::KeepHealthOnReplace() и RF_ORIGINAL.