do not attack players in vehicle - hotfix
target is outside the targeting cone; skip attack
См. определение в файле ZombieBase.c строка 676
677 {
678
680
683 if ( pb && pb.GetCommand_Vehicle() )
684 {
685 return false;
686 }
687
689 return false;
690
692 if ( !CanAttackToPosition(targetPos) )
693 return false;
694
695 float targetDist = vector.Distance(targetPos, this.
GetPosition());
697
700 {
704 {
706 return false;
707 }
708
711 return true;
712 }
713
714 return false;
715 }
DayZInfectedAttackGroupType
void DayZPlayerUtils()
cannot be instantiated
const float TARGET_CONE_ANGLE_CHASE
ref array< Object > m_AllTargetObjects
DayZInfectedAttackType m_ActualAttackType
float m_AttackCooldownTime
ref array< typename > m_TargetableObjects
int GetAttackPitch(EntityAI target)
class JsonUndergroundAreaTriggerData GetPosition
Перекрестные ссылки DayZPlayerUtils(), vector::Distance(), GetAttackPitch(), GetPosition, DayZInfectedInputController::GetTargetEntity(), m_ActualAttackType, m_ActualTarget, m_AllTargetObjects, m_AttackCooldownTime, m_TargetableObjects и TARGET_CONE_ANGLE_CHASE.
Используется в FightLogic().