3 protected static const string PORT_REQUEST =
"Request";
5 protected SCR_AIUtilityComponent m_UtilityComp;
10 override void OnInit(AIAgent owner)
12 m_UtilityComp = SCR_AIUtilityComponent.Cast(owner.FindComponent(SCR_AIUtilityComponent));
16 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
19 return ENodeResult.FAIL;
22 if (!rq || rq == m_CurrentRequest)
23 return ENodeResult.RUNNING;
25 m_CurrentRequest = rq;
30 return ENodeResult.SUCCESS;
36 static ref TStringArray s_aVarsOut =
40 override TStringArray GetVariablesOut() {
return s_aVarsOut; }
42 override bool CanReturnRunning() {
return true; }
44 override bool VisibleInPalette() {
return true; }