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

◆ EEOnDamageCalculated()

override bool InventoryItemSuper::EEOnDamageCalculated ( TotalDamageResult damageResult,
int damageType,
EntityAI source,
int component,
string dmgZone,
string ammo,
vector modelPos,
float speedCoef )
inlineprotected

См. определение в файле 4_World/DayZ/Entities/Core/Inherited/InventoryItem.c строка 271

272 {
273 CarScript car;
274 EntityAI wheelParent = GetHierarchyRoot();
275 if (!CfgGameplayHandler.GetCanDamageAttachedCarWheels() && wheelParent && Class.CastTo(car, wheelParent))
276 return false;
277
278 return super.EEOnDamageCalculated(damageResult, damageType, source, component, dmgZone, ammo, modelPos, speedCoef);
279 }
class LogManager EntityAI
class BoxCollidingParams component
ComponentInfo for BoxCollidingResult.

Перекрестные ссылки Class::CastTo(), component и CfgGameplayHandler::GetCanDamageAttachedCarWheels().