8 protected static ref TStringArray _s_aVarsIn =
13 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
15 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
17 AIAgent receiver = GetReceiverAgent(owner);
22 if(!GetVariableIn(
"Stance", msg.m_eStance))
26 return ENodeResult.SUCCESS;
28 return ENodeResult.FAIL;
31 override string GetNodeMiddleText()
34 s = s +
string.Format(
"m_eStance: %1\n",
typename.EnumToString(
ECharacterStance, m_eStance));
37 override bool VisibleInPalette() {
return true; }
56 AIAgent receiver = GetReceiverAgent(owner);
61 if(!GetVariableIn(
"WeaponRaised", msg.m_bWeaponRaised))
62 msg.m_bWeaponRaised = m_bWeaponRaised;
65 return ENodeResult.SUCCESS;
67 return ENodeResult.FAIL;
73 s = s +
string.Format(
"m_bWeaponRaised: %1\n", m_bWeaponRaised);
91 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
93 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
95 AIAgent receiver = GetReceiverAgent(owner);
100 if(!GetVariableIn(
"MovementType", msg.m_eMovementType))
104 return ENodeResult.SUCCESS;
106 return ENodeResult.FAIL;
109 override string GetNodeMiddleText()
115 override bool VisibleInPalette() {
return true; }
122 protected static ref TStringArray
_s_aVarsIn =
130 AIAgent receiver = GetReceiverAgent(owner);
136 return ENodeResult.SUCCESS;
138 return ENodeResult.FAIL;
151 protected static ref TStringArray
_s_aVarsIn =
156 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
158 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
160 AIAgent receiver = GetReceiverAgent(owner);
165 if(!GetVariableIn(
"WeaponType", msg.m_eWeaponType))
169 return ENodeResult.SUCCESS;
171 return ENodeResult.FAIL;
174 override string GetNodeMiddleText()
180 override bool VisibleInPalette() {
return true; }
187 [
Attribute(
"", UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(EUnitAIState))]
188 EUnitAIState m_eAIState;
190 protected static ref TStringArray
_s_aVarsIn =
199 AIAgent receiver = GetReceiverAgent(owner);
204 if(!GetVariableIn(
"AIState", msg.m_eAIState))
205 msg.m_eAIState = m_eAIState;
208 return ENodeResult.SUCCESS;
210 return ENodeResult.FAIL;
216 s = s +
string.Format(
"m_eAIState: %1\n",
typename.EnumToString(EUnitAIState, m_eAIState));
226 [
Attribute(
"", UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(EUnitState))]
227 EUnitState m_eUnitState;
229 protected static ref TStringArray
_s_aVarsIn =
234 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
236 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
238 AIAgent receiver = GetReceiverAgent(owner);
243 if(!GetVariableIn(
"UnitState", msg.m_eUnitState))
247 return ENodeResult.SUCCESS;
249 return ENodeResult.FAIL;
252 override string GetNodeMiddleText()
255 s = s +
string.Format(
"m_eUnitState: %1\n",
typename.EnumToString(EUnitState,
m_eUnitState));
258 override bool VisibleInPalette() {
return true; }
265 [
Attribute(
"", UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(EAICombatType))]
266 EAICombatType m_eCombatType;
268 protected static ref TStringArray
_s_aVarsIn =
277 AIAgent receiver = GetReceiverAgent(owner);
282 if(!GetVariableIn(
"CombatType", msg.m_eCombatType))
283 msg.m_eCombatType = m_eCombatType;
286 return ENodeResult.SUCCESS;
288 return ENodeResult.FAIL;
294 s = s +
string.Format(
"m_eCombatType: %1\n",
typename.EnumToString(EAICombatType, m_eCombatType));