6 [
Attribute(
"0", UIWidgets.ComboBox,
"Type of event activating the reaction",
"", ParamEnumArray.FromEnum(EAIDangerEventType) )]
7 EAIDangerEventType m_eType;
9 bool PerformReaction(notnull SCR_AIUtilityComponent utility, notnull
SCR_AIThreatSystem threatSystem, AIDangerEvent dangerEvent) {}
12 protected void AddDebugMessage(SCR_AIUtilityComponent utility,
string str)
14 SCR_AIInfoBaseComponent infoComp = SCR_AIInfoBaseComponent.Cast(utility.GetOwner().FindComponent(SCR_AIInfoBaseComponent));
15 infoComp.AddDebugMessage(
string.Format(
"%1: %2",
this, str), msgType:
EAIDebugMsgType.REACTION);