3 SCR_AICombatComponent m_CombatComponent;
7 protected BaseTarget GetEnemy(SCR_AICombatComponent combatComp);
10 protected override bool TestFunction(AIAgent owner)
20 protected override void OnInit(AIAgent owner)
22 m_CombatComponent = SCR_AICombatComponent.Cast(owner.GetControlledEntity().FindComponent(SCR_AICombatComponent));
26 override bool VisibleInPalette() {
return false; }
32 override protected BaseTarget GetEnemy(SCR_AICombatComponent combatComp)
34 return combatComp.GetCurrentTarget();
38 protected static override string GetOnHoverDescription()
40 return "Returns true when SCR_AICombatComponent.GetCurrentTarget() != null.";
44 override bool VisibleInPalette() {
return true; }
50 override protected BaseTarget GetEnemy(SCR_AICombatComponent combatComp)
52 return combatComp.GetLastSeenEnemy();
56 protected static override string GetOnHoverDescription()
58 return "Returns true when SCR_AICombatComponent.GetCurrentTarget() != null.";
62 override bool VisibleInPalette() {
return true; }