Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AIDangerReaction.c
Go to the documentation of this file.
1 // Danger reaction base class
2 
5 {
6  [Attribute("0", UIWidgets.ComboBox, "Type of event activating the reaction", "", ParamEnumArray.FromEnum(EAIDangerEventType) )]
7  EAIDangerEventType m_eType;
8 
9  bool PerformReaction(notnull SCR_AIUtilityComponent utility, notnull SCR_AIThreatSystem threatSystem, AIDangerEvent dangerEvent) {}
10 
11  #ifdef AI_DEBUG
12  protected void AddDebugMessage(SCR_AIUtilityComponent utility, string str)
13  {
14  SCR_AIInfoBaseComponent infoComp = SCR_AIInfoBaseComponent.Cast(utility.GetOwner().FindComponent(SCR_AIInfoBaseComponent));
15  infoComp.AddDebugMessage(string.Format("%1: %2", this, str), msgType: EAIDebugMsgType.REACTION);
16  }
17  #endif
18 };
EAIDebugMsgType
EAIDebugMsgType
Definition: SCR_AIDebugMessage.c:1
SCR_AIDangerReaction
Definition: SCR_AIDangerReaction.c:4
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_AIThreatSystem
Definition: SCR_AIThreatSystem.c:17
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468