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_AIActivityFeatureBase.c
Go to the documentation of this file.
1
class
SCR_AIActivityFeatureBase
2
{
3
//-------------------------------------------------------------------------------------
4
protected
bool
IsAgentAvailable
(
SCR_ChimeraAIAgent
agent)
5
{
6
SCR_AIInfoComponent
infoComp = agent.m_InfoComponent;
7
8
return
agent && infoComp.
GetAIState
() == EUnitAIState.AVAILABLE &&
9
!infoComp.
HasUnitState
(EUnitState.IN_TURRET) && !infoComp.
HasUnitState
(EUnitState.IN_VEHICLE) &&
10
!infoComp.
HasUnitState
(EUnitState.UNCONSCIOUS);
11
}
12
}
SCR_AIActivityFeatureBase
Definition
SCR_AIActivityFeatureBase.c:2
SCR_AIActivityFeatureBase::IsAgentAvailable
bool IsAgentAvailable(SCR_ChimeraAIAgent agent)
Definition
SCR_AIActivityFeatureBase.c:4
SCR_AIInfoComponent
Definition
SCR_AIInfoComponent.c:46
SCR_AIInfoComponent::HasUnitState
bool HasUnitState(EUnitState state)
Definition
SCR_AIInfoComponent.c:261
SCR_AIInfoComponent::GetAIState
EUnitAIState GetAIState()
Definition
SCR_AIInfoComponent.c:285
SCR_ChimeraAIAgent
Definition
SCR_ChimeraAIAgent.c:6
scripts
Game
AI
Behavior
ActivityFeatures
SCR_AIActivityFeatureBase.c
Generated by
1.17.0