56 if (!node.GetVariableIn(node.PORT_STRING,debugText))
57 debugText = node.m_string;
59 SetReceiver(node.m_Receiver);
64 return string.Format(
"\t%1",
this);
75 float m_fPriorityLevel;
76 bool m_bIsWaypointRelated;
77 AIWaypoint m_RelatedWaypoint;
81 super.SetMessageParameters(node);
82 m_RelatedGroupActivity = relatedActivity;
88 override string GetDebugText()
90 return super.GetDebugText() +
string.Format(
"\tType: %1\n",
typename.EnumToString(
EMessageType_Goal, m_eUIType));
100 override string GetDebugText()
102 return super.GetDebugText() +
string.Format(
"\tType: %1\n",
typename.EnumToString(
EMessageType_Info, m_eUIType));
110 ref SCR_AITargetInfo m_TargetInfo;
114 super.SetMessageParameters(node);
118 IEntity targetEntity;
122 genericNode.GetVariableIn(genericNode.PORT_ENTITY, targetEntity);
123 if (!genericNode.GetVariableIn(genericNode.PORT_VECTOR, pos))
124 pos = genericNode.m_vector;
125 genericNode.GetVariableIn(genericNode.PORT_FLOAT, time);
126 m_TargetInfo =
new SCR_AITargetInfo();
127 m_TargetInfo.Init(targetEntity, worldPos: pos, timestamp: time);
133 IEntity m_entityToSupply;
134 typename m_MagazineWell;
143 super.SetMessageParameters(node);
147 genericNode.GetVariableIn(genericNode.PORT_ENTITY, m_entityToSupply);
148 genericNode.GetVariableIn(genericNode.PORT_TYPENAME, m_MagazineWell);
155 msg.m_entityToSupply = entityToResupply;
156 msg.m_MagazineWell = magazineWell;
173 super.SetMessageParameters(node);
177 if (!genericNode.GetVariableIn(genericNode.PORT_VECTOR,
m_vPosition))
193 super.SetMessageParameters(node);
197 if (!genericNode.GetVariableIn(genericNode.PORT_VECTOR,
m_vPosition))
204 IEntity m_WoundedEntity;
214 m.m_WoundedEntity = woundedEntity;
220 super.SetMessageParameters(node);
224 genericNode.GetVariableIn(genericNode.PORT_ENTITY, m_WoundedEntity);
225 if (!genericNode.GetVariableIn(genericNode.PORT_VECTOR,
m_vPosition))
232 int m_MagazinesCount,m_BandagesCount;
243 typename m_ActionTypename;
253 IEntity m_TargetEntity;
273 msg.m_RelatedGroupActivity = relatedActivity;
281 ref SCR_AITargetInfo m_TargetInfo;
290 super.SetMessageParameters(node,relatedActivity);
292 IEntity targetEntity;
296 node.GetVariableIn(node.PORT_ENTITY, targetEntity);
297 if (!node.GetVariableIn(node.PORT_VECTOR, pos))
299 node.GetVariableIn(node.PORT_FLOAT, time);
300 m_TargetInfo =
new SCR_AITargetInfo();
301 m_TargetInfo.Init(targetEntity, worldPos: pos, timestamp: time);
308 bool m_bAllowInvestigate;
318 msg.m_TargetClusterState = s;
319 msg.m_bAllowInvestigate = allowInvestigate;
356 IEntity m_FollowEntity;
357 vector m_MovePosition;
368 super.SetMessageParameters(node, relatedActivity);
369 node.GetVariableIn(node.PORT_ENTITY, m_FollowEntity);
370 if (!node.GetVariableIn(node.PORT_VECTOR, m_MovePosition))
371 m_MovePosition = node.m_vector;
390 super.SetMessageParameters(node, relatedActivity);
391 node.GetVariableIn(node.PORT_ENTITY, m_FollowEntity);
402 IEntity m_ObjectEntity;
403 vector m_vMovePosition;
407 float m_fDuration = 10;
417 msg.m_fRadius = radius;
418 msg.m_vMovePosition = pos;
419 msg.m_bIsDangerous = dangerous;
420 msg.m_eTargetUnitType = unitType;
421 msg.m_fDuration = duration;
427 super.SetMessageParameters(node, relatedActivity);
428 node.GetVariableIn(node.PORT_ENTITY, m_ObjectEntity);
429 node.GetVariableIn(node.PORT_VECTOR, m_vMovePosition);
430 if (!node.GetVariableIn(node.PORT_FLOAT,
m_fRadius))
449 IEntity m_EntityToHeal;
459 IEntity m_AmmoConsumer;
460 typename m_MagazineWell;
469 super.SetMessageParameters(node, relatedActivity);
487 super.SetMessageParameters(node, relatedActivity);
495 vector m_vDefendLocation;
496 float m_fDefendAngularRange;
505 super.SetMessageParameters(node, relatedActivity);
506 node.GetVariableIn(node.PORT_ENTITY, m_RelatedWaypoint);
520 IEntity m_HealProvider;
529 super.SetMessageParameters(node, relatedActivity);
530 node.GetVariableIn(node.PORT_ENTITY, m_HealProvider);
537 IEntity m_SmartActionEntity;
538 string m_SmartActionTag;
547 super.SetMessageParameters(node, relatedActivity);
548 node.GetVariableIn(node.PORT_ENTITY, m_SmartActionEntity);
549 node.GetVariableIn(node.PORT_STRING, m_SmartActionTag);
569 super.SetMessageParameters(node, relatedActivity);
570 node.GetVariableIn(node.PORT_ENTITY,
m_Vehicle);
585 super.SetMessageParameters(node, relatedActivity);
586 node.GetVariableIn(node.PORT_ENTITY,
m_Vehicle);
600 vector m_vTargetPosition;
613 msg.e_WeaponType = weaponType;
614 msg.m_fDelay = delay;