3 private AICommunicationComponent m_ParentComms;
4 private AIAgent m_Receiver;
6 void SetParentComms(AICommunicationComponent parentComms, AIAgent receiver)
8 m_ParentComms = parentComms;
13 protected override event void OnPerform(IEntity user,
BaseSelectionMenu sourceMenu)
15 super.OnPerform(user, sourceMenu);
18 m_ParentComms.RequestBroadcast(GetAIMessage(), m_Receiver);
22 protected override bool CanBeShownScript(IEntity user,
BaseSelectionMenu sourceMenu)
28 protected override bool CanBePerformedScript(IEntity user,
BaseSelectionMenu sourceMenu)
35 protected override bool GetEntryNameScript(out
string outName)
37 auto pMessage = GetAIMessage();
44 string sName = pMessage.GetText();
49 protected override bool GetEntryDescriptionScript(out
string outDescription)