Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AIConfigComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_AIConfigComponentClass
 

Functions

SCR_AIConfigComponentClass ScriptComponentClass Attribute (defvalue:"0.5", uiwidget:UIWidgets.Slider, desc:"Unit skill", params:"0 1 0.01")] float m_Skill
 
override void OnPostInit (IEntity owner)
 Called on PostInit when all components are added. More...
 
override void EOnInit (IEntity owner)
 
void PerformGoalReaction (SCR_AIUtilityComponent utility, SCR_AIMessageBase message)
 
void PerformGoalReaction (SCR_AIGroupUtilityComponent utility, SCR_AIMessageBase message)
 
void PerformInfoReaction (SCR_AIGroupUtilityComponent utility, SCR_AIMessageBase message)
 
void PerformInfoReaction (SCR_AIUtilityComponent utility, SCR_AIMessageBase message)
 
bool PerformDangerReaction (SCR_AIUtilityComponent utility, AIDangerEvent dangerEvent)
 
void AddDefaultBehaviors (SCR_AIUtilityComponent utility)
 
void AddDefaultActivities (SCR_AIGroupUtilityComponent utility)
 
ResourceName GetTreeNameForWeaponType (EWeaponType weaponType, EMuzzleType muzzleType)
 Returns resource name set for specific WeaponType and MuzzleType as sub-filter. More...
 

Variables

bool m_EnableMovement
 
bool m_EnableDangerEvents
 
bool m_EnablePerception
 
bool m_EnableAttack
 
bool m_EnableTakeCover
 
bool m_EnableLooking
 
bool m_EnableCommunication
 
bool m_EnableLeaderStop
 
bool m_EnableAimingError
 
ref array< ref SCR_AIReactionBasem_aDefaultReactions
 
ref array< ref SCR_AIDangerReactionm_aDangerReactions
 
ref map< EAIDangerEventType, ref SCR_AIDangerReactionm_mDangerReactions = new map<EAIDangerEventType, ref SCR_AIDangerReaction>()
 
ref array< ref SCR_AIGoalReactionm_aGoalReactions
 
ref array< ref SCR_AIGoalReactionm_aGoalReactionsPacked = {}
 
ref array< ref SCR_AIInfoReactionm_aInfoReactions
 
ref array< ref SCR_AIInfoReactionm_aInfoReactionsPacked = {}
 
ref SCR_AITargetReactionBase m_Reaction_UnknownTarget
 
ref SCR_AITargetReactionBase m_Reaction_RetreatFromTarget
 
ref SCR_AITargetReaction_SelectedTargetChangedBase m_Reaction_SelectedTargetChanged
 
ref array< ref SCR_AIWeaponTypeSelectionConfigm_aWeaponTypeSelectionConfig
 
ResourceName m_sDefaultWeaponBehaviorTree
 

Function Documentation

◆ AddDefaultActivities()

void AddDefaultActivities ( SCR_AIGroupUtilityComponent  utility)
Parameters
[in]utility

Definition at line 228 of file SCR_AIConfigComponent.c.

◆ AddDefaultBehaviors()

void AddDefaultBehaviors ( SCR_AIUtilityComponent  utility)
Parameters
[in]utility

Definition at line 217 of file SCR_AIConfigComponent.c.

◆ Attribute()

SCR_AIConfigComponentClass ScriptComponentClass Attribute ( defvalue:"0.5"  ,
uiwidget:UIWidgets.  Slider,
desc:"Unit skill"  ,
params:"0 1 0.01"   
)

◆ GetTreeNameForWeaponType()

ResourceName GetTreeNameForWeaponType ( EWeaponType  weaponType,
EMuzzleType  muzzleType 
)

Returns resource name set for specific WeaponType and MuzzleType as sub-filter.

Definition at line 238 of file SCR_AIConfigComponent.c.

◆ PerformDangerReaction()

bool PerformDangerReaction ( SCR_AIUtilityComponent  utility,
AIDangerEvent  dangerEvent 
)
Parameters
[in]utility
[in]dangerEvent
Returns

Definition at line 204 of file SCR_AIConfigComponent.c.

◆ PerformGoalReaction() [1/2]

void PerformGoalReaction ( SCR_AIGroupUtilityComponent  utility,
SCR_AIMessageBase  message 
)
Parameters
[in]utility
[in]message

Definition at line 143 of file SCR_AIConfigComponent.c.

◆ PerformGoalReaction() [2/2]

void PerformGoalReaction ( SCR_AIUtilityComponent  utility,
SCR_AIMessageBase  message 
)
Parameters
[in]utility
[in]message

Definition at line 123 of file SCR_AIConfigComponent.c.

◆ PerformInfoReaction() [1/2]

void PerformInfoReaction ( SCR_AIGroupUtilityComponent  utility,
SCR_AIMessageBase  message 
)
Parameters
[in]utility
[in]message

Definition at line 163 of file SCR_AIConfigComponent.c.

◆ PerformInfoReaction() [2/2]

void PerformInfoReaction ( SCR_AIUtilityComponent  utility,
SCR_AIMessageBase  message 
)
Parameters
[in]utility
[in]message

Definition at line 183 of file SCR_AIConfigComponent.c.

Variable Documentation

◆ m_aDangerReactions

ref array<ref SCR_AIDangerReaction> m_aDangerReactions

Definition at line 43 of file SCR_AIConfigComponent.c.

◆ m_aDefaultReactions

ref array<ref SCR_AIReactionBase> m_aDefaultReactions

Definition at line 40 of file SCR_AIConfigComponent.c.

◆ m_aGoalReactions

ref array<ref SCR_AIGoalReaction> m_aGoalReactions

Definition at line 47 of file SCR_AIConfigComponent.c.

◆ m_aGoalReactionsPacked

ref array<ref SCR_AIGoalReaction> m_aGoalReactionsPacked = {}

Definition at line 49 of file SCR_AIConfigComponent.c.

◆ m_aInfoReactions

ref array<ref SCR_AIInfoReaction> m_aInfoReactions

Definition at line 52 of file SCR_AIConfigComponent.c.

◆ m_aInfoReactionsPacked

ref array<ref SCR_AIInfoReaction> m_aInfoReactionsPacked = {}

Definition at line 54 of file SCR_AIConfigComponent.c.

◆ m_aWeaponTypeSelectionConfig

ref array<ref SCR_AIWeaponTypeSelectionConfig> m_aWeaponTypeSelectionConfig

Definition at line 66 of file SCR_AIConfigComponent.c.

◆ m_EnableAimingError

bool m_EnableAimingError

Definition at line 37 of file SCR_AIConfigComponent.c.

◆ m_EnableAttack

bool m_EnableAttack

Definition at line 22 of file SCR_AIConfigComponent.c.

◆ m_EnableCommunication

bool m_EnableCommunication

Definition at line 31 of file SCR_AIConfigComponent.c.

◆ m_EnableDangerEvents

bool m_EnableDangerEvents

Definition at line 16 of file SCR_AIConfigComponent.c.

◆ m_EnableLeaderStop

bool m_EnableLeaderStop

Definition at line 34 of file SCR_AIConfigComponent.c.

◆ m_EnableLooking

bool m_EnableLooking

Definition at line 28 of file SCR_AIConfigComponent.c.

◆ m_EnableMovement

bool m_EnableMovement

Definition at line 13 of file SCR_AIConfigComponent.c.

◆ m_EnablePerception

bool m_EnablePerception

Definition at line 19 of file SCR_AIConfigComponent.c.

◆ m_EnableTakeCover

bool m_EnableTakeCover

Definition at line 25 of file SCR_AIConfigComponent.c.

◆ m_mDangerReactions

ref map<EAIDangerEventType, ref SCR_AIDangerReaction> m_mDangerReactions = new map<EAIDangerEventType, ref SCR_AIDangerReaction>()

Definition at line 44 of file SCR_AIConfigComponent.c.

◆ m_Reaction_RetreatFromTarget

ref SCR_AITargetReactionBase m_Reaction_RetreatFromTarget

Definition at line 60 of file SCR_AIConfigComponent.c.

◆ m_Reaction_SelectedTargetChanged

ref SCR_AITargetReaction_SelectedTargetChangedBase m_Reaction_SelectedTargetChanged

Definition at line 63 of file SCR_AIConfigComponent.c.

◆ m_Reaction_UnknownTarget

ref SCR_AITargetReactionBase m_Reaction_UnknownTarget

Definition at line 57 of file SCR_AIConfigComponent.c.

◆ m_sDefaultWeaponBehaviorTree

ResourceName m_sDefaultWeaponBehaviorTree

Definition at line 69 of file SCR_AIConfigComponent.c.