6 float m_fPriorityLevel;
9 bool m_bIsWaypointRelated;
11 protected static ref TStringArray _s_aVarsIn =
17 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
19 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
21 AIAgent receiver = GetReceiverAgent(owner);
24 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
28 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
31 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
34 if (msg.m_bIsWaypointRelated)
35 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
38 return ENodeResult.SUCCESS;
40 return ENodeResult.FAIL;
43 override string GetNodeMiddleText()
47 s = s +
string.Format(
"m_bIsWaypointRelated: %1\n", m_bIsWaypointRelated);
50 override bool VisibleInPalette() {
return true; }
74 AIAgent receiver = GetReceiverAgent(owner);
77 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
81 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
84 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
87 GetVariableIn(
"TargetInfo", msg.m_TargetInfo);
89 if (msg.m_bIsWaypointRelated)
90 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
93 return ENodeResult.SUCCESS;
95 return ENodeResult.FAIL;
118 protected static ref TStringArray _s_aVarsIn =
123 "TargetClusterState",
126 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
128 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
130 AIAgent receiver = GetReceiverAgent(owner);
133 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
137 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
140 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
143 GetVariableIn(
"TargetClusterState", msg.m_TargetClusterState);
145 GetVariableIn(
"AllowInvestigate", msg.m_bAllowInvestigate);
147 if (msg.m_bIsWaypointRelated)
148 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
151 return ENodeResult.SUCCESS;
153 return ENodeResult.FAIL;
156 override string GetNodeMiddleText()
163 override bool VisibleInPalette() {
return true; }
176 protected static ref TStringArray
_s_aVarsIn =
186 AIAgent receiver = GetReceiverAgent(owner);
189 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
193 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
196 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
199 if (msg.m_bIsWaypointRelated)
200 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
203 return ENodeResult.SUCCESS;
205 return ENodeResult.FAIL;
228 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);
241 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
245 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
248 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
251 if (msg.m_bIsWaypointRelated)
252 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
255 return ENodeResult.SUCCESS;
257 return ENodeResult.FAIL;
260 override string GetNodeMiddleText()
267 override bool VisibleInPalette() {
return true; }
286 protected static ref TStringArray
_s_aVarsIn =
299 AIAgent receiver = GetReceiverAgent(owner);
302 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
306 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
309 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
312 GetVariableIn(
"FollowEntity", msg.m_FollowEntity);
314 GetVariableIn(
"MovePosition", msg.m_MovePosition);
318 if(!GetVariableIn(
"UseVehicles", msg.m_bUseVehicles))
321 if (msg.m_bIsWaypointRelated)
322 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
325 return ENodeResult.SUCCESS;
327 return ENodeResult.FAIL;
358 protected static ref TStringArray _s_aVarsIn =
368 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
370 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
372 AIAgent receiver = GetReceiverAgent(owner);
375 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
379 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
382 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
385 GetVariableIn(
"FollowEntity", msg.m_FollowEntity);
387 GetVariableIn(
"MovePosition", msg.m_MovePosition);
391 if(!GetVariableIn(
"UseVehicles", msg.m_bUseVehicles))
394 GetVariableIn(
"Distance", msg.m_fDistance);
396 if (msg.m_bIsWaypointRelated)
397 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
400 return ENodeResult.SUCCESS;
402 return ENodeResult.FAIL;
405 override string GetNodeMiddleText()
414 override bool VisibleInPalette() {
return true; }
439 protected static ref TStringArray
_s_aVarsIn =
454 AIAgent receiver = GetReceiverAgent(owner);
457 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
461 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
464 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
467 GetVariableIn(
"ObjectEntity", msg.m_ObjectEntity);
469 GetVariableIn(
"MovePosition", msg.m_vMovePosition);
471 if(!GetVariableIn(
"Radius", msg.m_fRadius))
474 if(!GetVariableIn(
"IsDangerous", msg.m_bIsDangerous))
479 if(!GetVariableIn(
"Duration", msg.m_fDuration))
482 if (msg.m_bIsWaypointRelated)
483 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
486 return ENodeResult.SUCCESS;
488 return ENodeResult.FAIL;
496 s = s +
string.Format(
"m_fRadius: %1\n",
m_fRadius);
499 s = s +
string.Format(
"m_fDuration: %1\n",
m_fDuration);
521 protected static ref TStringArray _s_aVarsIn =
530 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
532 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
534 AIAgent receiver = GetReceiverAgent(owner);
537 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
541 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
544 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
547 GetVariableIn(
"FollowEntity", msg.m_FollowEntity);
549 GetVariableIn(
"MovePosition", msg.m_MovePosition);
553 if(!GetVariableIn(
"UseVehicles", msg.m_bUseVehicles))
556 if (msg.m_bIsWaypointRelated)
557 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
560 return ENodeResult.SUCCESS;
562 return ENodeResult.FAIL;
565 override string GetNodeMiddleText()
574 override bool VisibleInPalette() {
return true; }
587 protected static ref TStringArray
_s_aVarsIn =
598 AIAgent receiver = GetReceiverAgent(owner);
601 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
605 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
608 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
611 GetVariableIn(
"EntityToHeal", msg.m_EntityToHeal);
613 if (msg.m_bIsWaypointRelated)
614 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
617 return ENodeResult.SUCCESS;
619 return ENodeResult.FAIL;
642 protected static ref TStringArray _s_aVarsIn =
647 "AmmoConsumerEntity",
650 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
652 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
654 AIAgent receiver = GetReceiverAgent(owner);
657 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
661 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
664 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
667 GetVariableIn(
"AmmoConsumerEntity", msg.m_AmmoConsumer);
669 GetVariableIn(
"MagazineWellType", msg.m_MagazineWell);
671 if (msg.m_bIsWaypointRelated)
672 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
675 return ENodeResult.SUCCESS;
677 return ENodeResult.FAIL;
680 override string GetNodeMiddleText()
687 override bool VisibleInPalette() {
return true; }
700 protected static ref TStringArray
_s_aVarsIn =
712 AIAgent receiver = GetReceiverAgent(owner);
715 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
719 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
722 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
725 GetVariableIn(
"PickupPosition", msg.m_vPickupPosition);
727 GetVariableIn(
"MagazineWellType", msg.m_MagazineWellType);
729 if (msg.m_bIsWaypointRelated)
730 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
733 return ENodeResult.SUCCESS;
735 return ENodeResult.FAIL;
759 float m_fDefendAngularRange;
761 protected static ref TStringArray _s_aVarsIn =
769 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
771 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
773 AIAgent receiver = GetReceiverAgent(owner);
776 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
778 msg.SetText(m_sText);
780 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
783 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
786 GetVariableIn(
"DefendLocation", msg.m_vDefendLocation);
788 if(!GetVariableIn(
"DefendAngularRange", msg.m_fDefendAngularRange))
791 if (msg.m_bIsWaypointRelated)
792 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
795 return ENodeResult.SUCCESS;
797 return ENodeResult.FAIL;
800 override string GetNodeMiddleText()
803 s = s +
string.Format(
"m_fPriorityLevel: %1\n", m_fPriorityLevel);
804 s = s +
string.Format(
"m_bIsWaypointRelated: %1\n", m_bIsWaypointRelated);
805 s = s +
string.Format(
"m_fDefendAngularRange: %1\n", m_fDefendAngularRange);
808 override bool VisibleInPalette() {
return true; }
821 protected static ref TStringArray
_s_aVarsIn =
831 AIAgent receiver = GetReceiverAgent(owner);
834 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
838 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
841 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
844 if (msg.m_bIsWaypointRelated)
845 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
848 return ENodeResult.SUCCESS;
850 return ENodeResult.FAIL;
873 protected static ref TStringArray _s_aVarsIn =
880 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
882 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
884 AIAgent receiver = GetReceiverAgent(owner);
887 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
891 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
894 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
897 GetVariableIn(
"HealProviderEntity", msg.m_HealProvider);
899 if (msg.m_bIsWaypointRelated)
900 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
903 return ENodeResult.SUCCESS;
905 return ENodeResult.FAIL;
908 override string GetNodeMiddleText()
915 override bool VisibleInPalette() {
return true; }
931 protected static ref TStringArray
_s_aVarsIn =
944 AIAgent receiver = GetReceiverAgent(owner);
947 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
951 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
954 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
957 GetVariableIn(
"SmartAction", msg.m_SmartActionComponent);
959 GetVariableIn(
"SmartActionEntity", msg.m_SmartActionEntity);
961 if(!GetVariableIn(
"SmartActionTag", msg.m_SmartActionTag))
964 if (msg.m_bIsWaypointRelated)
965 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
968 return ENodeResult.SUCCESS;
970 return ENodeResult.FAIL;
997 protected static ref TStringArray _s_aVarsIn =
1001 "IsWaypointRelated",
1005 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
1007 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
1009 AIAgent receiver = GetReceiverAgent(owner);
1012 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
1014 msg.SetText(m_sText);
1016 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
1019 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
1022 GetVariableIn(
"VehicleEntity", msg.m_Vehicle);
1024 if(!GetVariableIn(
"RoleInVehicle", msg.m_eRoleInVehicle))
1027 if (msg.m_bIsWaypointRelated)
1028 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
1031 return ENodeResult.SUCCESS;
1033 return ENodeResult.FAIL;
1036 override string GetNodeMiddleText()
1039 s = s +
string.Format(
"m_fPriorityLevel: %1\n", m_fPriorityLevel);
1040 s = s +
string.Format(
"m_bIsWaypointRelated: %1\n", m_bIsWaypointRelated);
1041 s = s +
string.Format(
"m_eRoleInVehicle: %1\n",
typename.EnumToString(
EAICompartmentType, m_eRoleInVehicle));
1044 override bool VisibleInPalette() {
return true; }
1057 protected static ref TStringArray
_s_aVarsIn =
1061 "IsWaypointRelated",
1068 AIAgent receiver = GetReceiverAgent(owner);
1071 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
1075 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
1078 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
1081 GetVariableIn(
"VehicleEntity", msg.m_Vehicle);
1083 if (msg.m_bIsWaypointRelated)
1084 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
1087 return ENodeResult.SUCCESS;
1089 return ENodeResult.FAIL;
1112 protected static ref TStringArray _s_aVarsIn =
1118 override TStringArray GetVariablesIn() {
return _s_aVarsIn; }
1120 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
1122 AIAgent receiver = GetReceiverAgent(owner);
1125 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
1129 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
1132 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
1135 if (msg.m_bIsWaypointRelated)
1136 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
1139 return ENodeResult.SUCCESS;
1141 return ENodeResult.FAIL;
1144 override string GetNodeMiddleText()
1151 override bool VisibleInPalette() {
return true; }
1164 protected static ref TStringArray
_s_aVarsIn =
1168 "IsWaypointRelated",
1177 AIAgent receiver = GetReceiverAgent(owner);
1180 msg.m_RelatedGroupActivity = GetRelatedActivity(owner);
1184 if(!GetVariableIn(
"PriorityLevel", msg.m_fPriorityLevel))
1187 if(!GetVariableIn(
"IsWaypointRelated", msg.m_bIsWaypointRelated))
1190 GetVariableIn(
"TargetPosition", msg.m_vTargetPosition);
1192 GetVariableIn(
"WeaponType", msg.e_WeaponType);
1194 GetVariableIn(
"Delay", msg.m_fDelay);
1196 if (msg.m_bIsWaypointRelated)
1197 msg.m_RelatedWaypoint = GetRelatedWaypoint(owner);
1200 return ENodeResult.SUCCESS;
1202 return ENodeResult.FAIL;