5 protected override bool TestFunction(AIAgent agent, IEntity controlled)
9 AIControlComponent aiContr = AIControlComponent.Cast(controlled.FindComponent(AIControlComponent));
15 auto infoComponent = chimeraAgent.m_InfoComponent;
18 Debug.Error(
"Missing AIInfoComponent in for IEntity: " + controlled.ToString());
21 return infoComponent.GetAIState() == EUnitAIState.AVAILABLE;