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

◆ DeathUpdate()

void Entity::DeathUpdate ( )
inlineprotected

См. определение в файле 3_Game/DayZ/Entities/EntityAI.c строка 1104

1105 {
1106 EntityAI dead_entity = EntityAI.Cast( g_Game.CreateObjectEx( GetDeadItemName(), GetPosition(), ECE_OBJECT_SWAP, RF_ORIGINAL ) );
1107 dead_entity.SetOrientation(GetOrientation());
1108 if (KeepHealthOnReplace())
1109 dead_entity.SetHealth(GetHealth());
1110
1111 DeleteSafe();
1112 }
vector GetOrientation()
Определения AreaDamageManager.c:306
const int ECE_OBJECT_SWAP
Определения CentralEconomy.c:38
const int RF_ORIGINAL
Определения CentralEconomy.c:63
DayZGame g_Game
Определения DayZGame.c:3942
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
void DeleteSafe()
bool KeepHealthOnReplace()
string GetDeadItemName()
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

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

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