Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AIBehaviorTask.c
Go to the documentation of this file.
1
class
SCR_AIActionTask
: AITaskScripted
2
{
3
// This is parent class not to be used / visible in palette of AI nodes
4
5
static
const
string
ENTITY_PORT =
"Entity"
;
6
static
const
string
POSITION_PORT =
"Position"
;
7
static
const
string
STANCE_PORT =
"Stance"
;
8
static
const
string
ROLEINVEHICLE_PORT =
"RoleInVehicle"
;
9
static
const
string
REPORTER_PORT =
"ReportingAgent"
;
10
static
const
string
USE_VEHICLES_PORT =
"UseVehicles"
;
11
static
const
string
DESIREDDISTANCE_PORT =
"DesiredDistance"
;
12
static
const
string
TARGET_PORT =
"Target"
;
13
static
const
string
TARGETINFO_PORT =
"TargetInfo"
;
14
static
const
string
TARGETPOSITION_PORT =
"TargetPosition"
;
15
static
const
string
NEXTCOVERPOSITION_PORT =
"NextCoverPosition"
;
16
static
const
string
COMPARTMENT_PORT =
"Compartment"
;
17
static
const
string
SMARTACTION_PORT =
"SmartActionComponent"
;
18
static
const
string
WEAPON_TYPE_PORT =
"WeaponType"
;
19
static
const
string
MAGAZINE_WELL_PORT =
"MagazineWell"
;
20
static
const
string
PRIORITY_LEVEL_PORT =
"PriorityLevel"
;
21
static
const
string
WAYPOINT_PORT =
"Waypoint"
;
22
static
const
string
ATTACK_LOCATION_PORT =
"AttackLocation"
;
23
static
const
string
DEFEND_LOCATION_PORT =
"DefendLocation"
;
24
static
const
string
ANGULAR_RANGE_PORT =
"AngularRange"
;
25
static
const
string
WAYPOINT_RELATED_PORT =
"WaypointRelated"
;
26
static
const
string
IS_DANGEROUS_PORT =
"isDangerous"
;
27
static
const
string
RESET_TIMER_PORT =
"ResetTimer"
;
28
static
const
string
TIMEOUT_PORT =
"Timeout"
;
29
static
const
string
DELAY_PORT =
"Delay"
;
30
static
const
string
REINIT_PORT =
"Reinit"
;
31
static
const
string
RADIUS_PORT =
"Radius"
;
32
33
protected
SCR_AIBaseUtilityComponent m_UtilityComp;
34
35
//------------------------------------------------------------------------------------------------
36
override
void
OnEnter(AIAgent owner)
37
{
38
m_UtilityComp = SCR_AIBaseUtilityComponent.Cast(owner.FindComponent(SCR_AIBaseUtilityComponent));
39
if
(!m_UtilityComp)
40
{
41
NodeError
(
this
, owner,
"Can't find base utility component."
);
42
}
43
}
44
45
//------------------------------------------------------------------------------------------------
47
protected
SCR_AIActionBase
GetExecutedAction()
48
{
49
if
(!m_UtilityComp)
50
return
null
;
51
52
return
SCR_AIActionBase
.Cast(m_UtilityComp.GetExecutedAction());
53
}
54
};
SCR_AIActionBase
Definition:
SCR_AIAction.c:1
NodeError
ENodeResult NodeError(Node node, AIAgent owner, string msg)
Error call to be used in scripted BT nodes.
Definition:
NodeError.c:3
SCR_AIActionTask
Definition:
SCR_AIBehaviorTask.c:1
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
AI
ScriptedNodes
Behavior
SCR_AIBehaviorTask.c
Generated by
1.8.17