8 protected static const string PORT_REQUEST =
"Request";
10 protected SCR_AIUtilityComponent m_Utility;
11 protected SCR_AICombatMoveState m_State;
14 override void OnInit(AIAgent owner)
16 m_Utility = SCR_AIUtilityComponent.Cast(owner.FindComponent(SCR_AIUtilityComponent));
18 m_State = m_Utility.m_CombatMoveState;
22 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
25 return ENodeResult.FAIL;
29 return ENodeResult.FAIL;
32 m_State.EnableAiming(rq.m_bAimAtTargetEnd);
37 auto invoker = rq.GetOnCompleted(
false);
39 invoker.Invoke(m_Utility, rq);
43 auto invoker = rq.GetOnFailed(
false);
45 invoker.Invoke(m_Utility, rq, rq.m_eFailReason);
48 return ENodeResult.SUCCESS;
53 protected static ref TStringArray s_aVarsIn = {
56 override TStringArray GetVariablesIn()
61 override bool VisibleInPalette() {
return true; }