|
inlinestaticprivate |
Register Hit Component for AI targeting.
Register Hit Component for AI targeting to array defined on entity's Type (DayZPlayerType, DayZInfectedType, etc.) Uses component name from damage system (zone) and its weight.
[in] | pHitComponents | array that keeps registered compoenents |
[in] | pName | component name (zone in Damage System) |
[in] | pWeight | weight of the component (probability) |
См. определение в файле DayZAIHitComponents.c строка 21
Перекрестные ссылки DayZAIHitComponent::m_Name и DayZAIHitComponent::m_Weight.
Используется в DeathUpdate(), AnimalBase::RegisterHitComponentsForAI(), DayZCreatureAI::RegisterHitComponentsForAI() и RegisterHitComponentsForAI().