4 override bool PerformReaction(notnull SCR_AIUtilityComponent utility, notnull
SCR_AIThreatSystem threatSystem, AIDangerEvent dangerEvent)
8 IEntity vehicleEntity = dangerEvent.GetVictim();
16 SCR_BaseCompartmentManagerComponent compManager = SCR_BaseCompartmentManagerComponent.Cast(vehicleEntity.FindComponent(SCR_BaseCompartmentManagerComponent));
20 array<IEntity> occupants = {};
24 if (occupants.Count() == 0)
26 if (!agent.IsEnemy(occupants[0]))
34 utility.AddAction(behavior);