3 protected SCR_AIGroupUtilityComponent m_groupUtilityComponent;
6 override void OnInit(AIAgent owner)
8 m_groupUtilityComponent = SCR_AIGroupUtilityComponent.Cast(owner.FindComponent(SCR_AIGroupUtilityComponent));
12 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
14 if (!m_groupUtilityComponent)
15 return NodeError(
this,owner,
"AIAgent does not have group utility component!");
19 return NodeError(
this, owner,
"Not running defend activity!");
21 defendActivity.ClearRadialCoverAgents();
22 return ENodeResult.SUCCESS;
26 protected override bool VisibleInPalette()
32 protected override string GetOnHoverDescription()
34 return "Clears the array of radial cover agents";