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_AICharacterStats.c
Go to the documentation of this file.
1
class
SCR_AICharacterStats
:
AITaskScripted
2
{
3
protected
SCR_AIInfoComponent
m_AIInfo
;
4
5
//------------------------------------------------------------------------------------------------
6
override
void
OnInit
(AIAgent owner)
7
{
8
SCR_ChimeraAIAgent
chimeraAgent =
SCR_ChimeraAIAgent
.Cast(owner);
9
if
(!chimeraAgent)
10
SCR_AgentMustChimera
(
this
, owner);
11
m_AIInfo
= chimeraAgent.m_InfoComponent;
12
if
(!
m_AIInfo
)
13
NodeError
(
this
, owner,
"Can't find AIInfo component."
);
14
}
15
};
SCR_AgentMustChimera
ENodeResult SCR_AgentMustChimera(Node node, AIAgent owner)
Definition
NodeError.c:21
NodeError
ENodeResult NodeError(Node node, AIAgent owner, string msg)
Error call to be used in scripted BT nodes.
Definition
NodeError.c:3
AITaskScripted
Definition
AITaskScripted.c:13
SCR_AICharacterStats
Definition
SCR_AICharacterStats.c:2
SCR_AICharacterStats::m_AIInfo
SCR_AIInfoComponent m_AIInfo
Definition
SCR_AICharacterStats.c:3
SCR_AICharacterStats::OnInit
override void OnInit(AIAgent owner)
Definition
SCR_AICharacterStats.c:6
SCR_AIInfoComponent
Definition
SCR_AIInfoComponent.c:46
SCR_ChimeraAIAgent
Definition
SCR_ChimeraAIAgent.c:6
scripts
Game
AI
ScriptedNodes
Soldier
SCR_AICharacterStats.c
Generated by
1.17.0