Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_AIDangerReaction.c
Go to the documentation of this file.
1
// Danger reaction base class
2
3
[
BaseContainerProps
()]
4
class
SCR_AIDangerReaction
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
EAIDangerEventType
Definition
EAIDangerEventType.c:2
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
EAIDebugMsgType
EAIDebugMsgType
Definition
SCR_AIDebugMessage.c:2
AIDangerEvent
Event which gets broadcasted from danger-causing places to AI.
Definition
AIDangerEvent.c:14
SCR_AIDangerReaction
Definition
SCR_AIDangerReaction.c:5
SCR_AIThreatSystem
Definition
SCR_AIThreatSystem.c:18
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
AI
Reaction
Danger
SCR_AIDangerReaction.c
Generated by
1.17.0