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

◆ DeathUpdate()

void Entity::DeathUpdate ( )
inlineprotected

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

1131 {
1132 EntityAI dead_entity = EntityAI.Cast( g_Game.CreateObjectEx( GetDeadItemName(), GetPosition(), ECE_OBJECT_SWAP, RF_ORIGINAL ) );
1133 dead_entity.SetOrientation(GetOrientation());
1134 if (KeepHealthOnReplace())
1135 dead_entity.SetHealth(GetHealth());
1136
1137 DeleteSafe();
1138 }
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
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().