4 private SCR_AIBaseUtilityComponent m_Utility;
6 protected override bool VisibleInPalette() {
return true;}
8 protected override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
11 return ENodeResult.FAIL;
13 m_Utility.SetExecutedAction(m_Utility.GetCurrentAction());
14 return ENodeResult.SUCCESS;
17 override void OnEnter(AIAgent owner)
19 m_Utility = SCR_AIBaseUtilityComponent.Cast(owner.FindComponent(SCR_AIBaseUtilityComponent));
22 protected override string GetOnHoverDescription()
24 return "Update which activity is now being executed, so BT will always receive correct params";