Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
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, int dangerEventCount) {}
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};
EAIDangerEventType
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
EAIDebugMsgType
Event which gets broadcasted from danger-causing places to AI.
SCR_FieldOfViewSettings Attribute