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_AIPerformActionActivity.c
Go to the documentation of this file.
1
class
SCR_AIPerformActionActivity :
SCR_AIActivityBase
2
{
3
IEntity
m_SmartActionObject;
4
string
m_SmartActionTag
5
6
void
SCR_AIPerformActionActivity(
SCR_AIGroupUtilityComponent
utility, AIWaypoint relatedWaypoint,
IEntity
entity,
string
tag,
float
priority = PRIORITY_ACTIVITY_PERFORM_ACTION,
float
priorityLevel =
PRIORITY_LEVEL_NORMAL
)
7
{
8
m_sBehaviorTree
=
"AI/BehaviorTrees/Chimera/Group/ActivityPerformAction.bt"
;
9
SetPriority(priority);
10
m_fPriorityLevel
.Init(
this
, priorityLevel);
11
if
(!relatedWaypoint)
12
{
13
m_SmartActionObject = entity;
14
m_SmartActionTag = tag;
15
}
16
}
17
18
override
string
GetActionDebugInfo
()
19
{
20
return
this.
ToString
() +
" using smart action with tag "
+ m_SmartActionTag +
" on object "
+ m_SmartActionObject.ToString();
21
}
22
};
m_fPriorityLevel
ref SCR_BTParam< float > m_fPriorityLevel
Definition
SCR_AIAction.c:87
PRIORITY_LEVEL_NORMAL
enum EAIActionFailReason PRIORITY_LEVEL_NORMAL
m_sBehaviorTree
ResourceName m_sBehaviorTree
Definition
SCR_AIAction.c:89
GetActionDebugInfo
string GetActionDebugInfo()
Definition
SCR_AIAction.c:185
SCR_AIActivityBase
void SCR_AIActivityBase(SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint)
Definition
SCR_AIActivity.c:44
IEntity
Definition
IEntity.c:13
SCR_AIGroupUtilityComponent
Definition
SCR_AIGroupUtilityComponent.c:18
ToString
proto external string ToString()
Plain C++ pointer, no weak pointers, no memory management.
scripts
Game
AI
Behavior
SCR_AIPerformActionActivity.c
Generated by
1.17.0