4 protected static const string PORT_REQUEST =
"Request";
6 protected static ref TStringArray s_aVarsIn = {
9 override TStringArray GetVariablesIn()
14 override bool VisibleInPalette() {
return true; }
16 override string GetOnHoverDescription() {
return "Unpacks data from combat move request"; };
23 protected static const string PORT_MOVE_POS =
"MovePos";
24 protected static const string PORT_TRY_FIND_COVER =
"TryFindCover";
25 protected static const string PORT_FAIL_IF_NO_COVER =
"FailIfNoCover";
26 protected static const string PORT_STANCE_MOVING =
"StanceMoving";
27 protected static const string PORT_STANCE_END =
"StanceEnd";
28 protected static const string PORT_MOVEMENT_TYPE =
"MovementType";
29 protected static const string PORT_DIRECTION =
"CombatMoveDirection";
30 protected static const string PORT_AIM_AT_TARGET =
"AimAtTarget";
43 SetVariableOut(PORT_TRY_FIND_COVER, rq.m_bTryFindCover);
44 SetVariableOut(PORT_FAIL_IF_NO_COVER, rq.m_bFailIfNoCover);
45 SetVariableOut(PORT_STANCE_MOVING, rq.m_eStanceMoving);
46 SetVariableOut(PORT_STANCE_END, rq.m_eStanceEnd);
47 SetVariableOut(PORT_MOVEMENT_TYPE, rq.m_eMovementType);
48 SetVariableOut(PORT_DIRECTION, rq.m_eDirection);
49 SetVariableOut(PORT_AIM_AT_TARGET, rq.m_bAimAtTarget);
51 return ENodeResult.SUCCESS;
56 protected static ref TStringArray
s_aVarsOut = {
58 PORT_FAIL_IF_NO_COVER,
104 protected static const string PORT_EXPOSED_IN_COVER =
"ExposedInCover";
107 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
115 SetVariableOut(PORT_EXPOSED_IN_COVER, rq.m_bExposedInCover);
117 return ENodeResult.SUCCESS;
121 protected static ref TStringArray s_aVarsOut = {
122 PORT_EXPOSED_IN_COVER
124 override TStringArray GetVariablesOut()
132 protected static const string PORT_STANCE =
"Stance";
145 return ENodeResult.SUCCESS;