3 static const string PORT_RECEIVER =
"Receiver";
6 protected string m_sText;
9 protected bool SendMessage(AIAgent owner, AIAgent receiver, AIMessage msg)
11 AICommunicationComponent comms = owner.GetCommunicationComponent();
12 if (!comms || !receiver)
15 return comms.RequestBroadcast(msg, receiver);
19 protected AIAgent GetReceiverAgent(AIAgent owner)
22 if (!GetVariableIn(PORT_RECEIVER, receiver))
29 override bool VisibleInPalette() {
return false; }