Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
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
float m_fPriorityLevel
Definition:
SendGoalMessage.c:3
SCR_AIActivityBase
Definition:
SCR_AIActivity.c:1
SCR_AIPerformActionActivity
Definition:
SCR_AIPerformActionActivity.c:1
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
AI
Behavior
SCR_AIPerformActionActivity.c
Generated by
1.8.17