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

Go to the source code of this file.

Data Structures

class  SCR_AIUtilityComponentClass
 

Functions

SCR_AIBehaviorBase EvaluateBehavior (BaseTarget unknownTarget)
 
bool CanIndependentlyMove ()
 
SCR_AIBehaviorBase GetCurrentBehavior ()
 
void WrapBehaviorOutsideOfVehicle (SCR_AIActionBase action)
 
override void EOnInit (IEntity owner)
 
override void EOnDiag (IEntity owner, float timeSlice)
 
vector GetOrigin ()
 

Variables

SCR_AIUtilityComponentClass m_OwnerEntity
 
protected SCR_CharacterControllerComponent m_OwnerController
 
SCR_AIConfigComponent m_ConfigComponent
 
SCR_AIInfoComponent m_AIInfo
 
SCR_AICombatComponent m_CombatComponent
 
PerceptionComponent m_PerceptionComponent
 
SCR_MailboxComponent m_Mailbox
 
ref SCR_AIThreatSystem m_ThreatSystem
 
ref SCR_AILookAction m_LookAction
 
ref SCR_AICommsHandler m_CommsHandler
 
ref SCR_AIBehaviorBase m_CurrentBehavior
 Used for avoiding constant casting, outside of this class use GetCurrentBehavior() More...
 
ref SCR_AICombatMoveState m_CombatMoveState
 
protected ref BaseTarget m_UnknownTarget
 
protected float m_fReactionUnknownTargetTime_ms
 WorldTime timestamp. More...
 
protected float m_fLastUpdateTime
 

Function Documentation

◆ CanIndependentlyMove()

bool CanIndependentlyMove ( )

Independent attacking with movement is allowed only when group combat move is not present or unit state is EUnitState.IN_TURRET

Returns

Definition at line 203 of file SCR_AIUtilityComponent.c.

◆ EvaluateBehavior()

SCR_AIBehaviorBase EvaluateBehavior ( BaseTarget  unknownTarget)
Parameters
[in]unknownTarget
Returns

Definition at line 35 of file SCR_AIUtilityComponent.c.

◆ GetCurrentBehavior()

SCR_AIBehaviorBase GetCurrentBehavior ( )
Returns

Definition at line 213 of file SCR_AIUtilityComponent.c.

◆ GetOrigin()

vector GetOrigin ( )
Returns

Definition at line 279 of file SCR_AIUtilityComponent.c.

◆ WrapBehaviorOutsideOfVehicle()

void WrapBehaviorOutsideOfVehicle ( SCR_AIActionBase  action)
Parameters
[in]action

Definition at line 221 of file SCR_AIUtilityComponent.c.

Variable Documentation

◆ m_AIInfo

SCR_AIInfoComponent m_AIInfo

Definition at line 11 of file SCR_AIUtilityComponent.c.

◆ m_CombatComponent

SCR_AICombatComponent m_CombatComponent

Definition at line 12 of file SCR_AIUtilityComponent.c.

◆ m_CombatMoveState

ref SCR_AICombatMoveState m_CombatMoveState

Definition at line 20 of file SCR_AIUtilityComponent.c.

◆ m_CommsHandler

ref SCR_AICommsHandler m_CommsHandler

Definition at line 18 of file SCR_AIUtilityComponent.c.

◆ m_ConfigComponent

SCR_AIConfigComponent m_ConfigComponent

Definition at line 10 of file SCR_AIUtilityComponent.c.

◆ m_CurrentBehavior

ref SCR_AIBehaviorBase m_CurrentBehavior

Used for avoiding constant casting, outside of this class use GetCurrentBehavior()

Definition at line 19 of file SCR_AIUtilityComponent.c.

◆ m_fLastUpdateTime

protected float m_fLastUpdateTime

Definition at line 25 of file SCR_AIUtilityComponent.c.

◆ m_fReactionUnknownTargetTime_ms

protected float m_fReactionUnknownTargetTime_ms

WorldTime timestamp.

Definition at line 23 of file SCR_AIUtilityComponent.c.

◆ m_LookAction

ref SCR_AILookAction m_LookAction

Definition at line 17 of file SCR_AIUtilityComponent.c.

◆ m_Mailbox

SCR_MailboxComponent m_Mailbox

Definition at line 14 of file SCR_AIUtilityComponent.c.

◆ m_OwnerController

protected SCR_CharacterControllerComponent m_OwnerController

Definition at line 9 of file SCR_AIUtilityComponent.c.

◆ m_OwnerEntity

◆ m_PerceptionComponent

PerceptionComponent m_PerceptionComponent

Definition at line 13 of file SCR_AIUtilityComponent.c.

◆ m_ThreatSystem

ref SCR_AIThreatSystem m_ThreatSystem

Definition at line 16 of file SCR_AIUtilityComponent.c.

◆ m_UnknownTarget

protected ref BaseTarget m_UnknownTarget

Definition at line 22 of file SCR_AIUtilityComponent.c.