3 SCR_AIGroupUtilityComponent m_GroupUtilityComponent;
6 override bool VisibleInPalette() {
return true;}
9 override void OnInit(AIAgent owner)
11 AIGroup group = AIGroup.Cast(owner);
13 m_GroupUtilityComponent = SCR_AIGroupUtilityComponent.Cast(group.FindComponent(SCR_AIGroupUtilityComponent));
17 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
19 if (!m_GroupUtilityComponent || !m_GroupUtilityComponent.m_aInfoComponents)
20 return ENodeResult.FAIL;
24 return ENodeResult.FAIL;
31 if (!smokeCoverFeature)
32 return ENodeResult.FAIL;
34 if (smokeCoverFeature.ExecuteForActivity(currentActivity))
35 return ENodeResult.SUCCESS;
37 return ENodeResult.FAIL;
41 override protected bool CanReturnRunning() {
return false; }
44 protected static ref TStringArray s_aVarsOut = {};
45 override TStringArray GetVariablesOut() {
return s_aVarsOut; }
48 protected static ref TStringArray s_aVarsIn = {};
49 override TStringArray GetVariablesIn() {
return s_aVarsIn; }
52 protected override string GetOnHoverDescription()
54 return "Getter returns group member available for specific role";