Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AIGetOutActivity.c
Go to the documentation of this file.
2 {
3  ref SCR_BTParam<IEntity> m_Vehicle = new SCR_BTParam<IEntity>(SCR_AIActionTask.ENTITY_PORT);
4 
5  void InitParameters(IEntity vehicle, float priorityLevel)
6  {
7  m_Vehicle.Init(this, vehicle);
8  m_fPriorityLevel.Init(this, priorityLevel);
9  }
10 
11  void SCR_AIGetOutActivity(SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint, IEntity vehicle, float priority = PRIORITY_ACTIVITY_GET_OUT, float priorityLevel = PRIORITY_LEVEL_NORMAL)
12  {
13  InitParameters(vehicle, priorityLevel);
14 
15  m_sBehaviorTree = "AI/BehaviorTrees/Chimera/Group/ActivityGetOut.bt";
16  SetPriority(priority);
17  }
18 
19  override string GetActionDebugInfo()
20  {
21  return this.ToString() + " leaving " + m_Vehicle.ValueToString();
22  }
23 };
24 
m_fPriorityLevel
float m_fPriorityLevel
Definition: SendGoalMessage.c:3
SCR_AIActivityBase
Definition: SCR_AIActivity.c:1
m_Vehicle
enum EAICompartmentType m_Vehicle
SCR_AIGetOutActivity
Definition: SCR_AIGetOutActivity.c:1
SCR_AIActionTask
Definition: SCR_AIBehaviorTask.c:1