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

◆ DeathUpdate()

override void DayZAnimal::DeathUpdate ( )
inlineprotected

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

33 {
34 EntityAI dead_entity = EntityAI.Cast( g_Game.CreateObjectEx( GetDeadItemName(), GetPosition(), ECE_OBJECT_SWAP, RF_ORIGINAL ) );
35 dead_entity.SetOrientation(GetOrientation());
36 MiscGameplayFunctions.TransferItemProperties(this,dead_entity,true,true,true,true);
38 dead_entity.SetHealthMax("","Health");
39
40 DeleteSafe();
41 }
class LogManager EntityAI
override string GetDeadItemName()
Определения AnimalBase.c:305
override bool KeepHealthOnReplace()
Определения AnimalBase.c:310
vector GetOrientation()
Определения AreaDamageManager.c:306
const int ECE_OBJECT_SWAP
Определения CentralEconomy.c:39
const int RF_ORIGINAL
Определения CentralEconomy.c:64
DayZGame g_Game
Определения DayZGame.c:4074
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

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