Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AIPerformActionActivity.c
Go to the documentation of this file.
1class 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};
ref SCR_BTParam< float > m_fPriorityLevel
enum EAIActionFailReason PRIORITY_LEVEL_NORMAL
ResourceName m_sBehaviorTree
string GetActionDebugInfo()
void SCR_AIActivityBase(SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint)
proto external string ToString()
Plain C++ pointer, no weak pointers, no memory management.