8 protected static const string PORT_REQUEST =
"Request";
11 protected static const string PORT_TYPE =
"Type";
13 protected SCR_AICombatMoveState m_State;
16 override void OnInit(AIAgent owner)
18 SCR_AIUtilityComponent utilityComp = SCR_AIUtilityComponent.Cast(owner.FindComponent(SCR_AIUtilityComponent));
20 m_State = utilityComp.m_CombatMoveState;
24 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
27 return ENodeResult.FAIL;
31 return ENodeResult.FAIL;
33 SetVariableOut(PORT_TYPE, rq.m_eType);
36 m_State.m_bAimAtTarget = rq.m_bAimAtTarget;
38 rq.m_eFailReason = SCR_EAICombatMoveRequestFailReason.NONE;
40 return ENodeResult.SUCCESS;
45 protected static ref TStringArray s_aVarsOut = {
48 override TStringArray GetVariablesOut()
53 protected static ref TStringArray s_aVarsIn = {
56 override TStringArray GetVariablesIn()
61 override bool VisibleInPalette() {
return true; }