Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AISuppressActivity.c
Go to the documentation of this file.
2{
3 protected ref SCR_BTParamRef<SCR_AISuppressionVolumeBase> m_Volume = new SCR_BTParamRef<SCR_AISuppressionVolumeBase>("SuppressionVolume");
4
5 void SCR_AISuppressActivity(SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint, SCR_AISuppressionVolumeBase suppressionVolume, float priorityLevel = PRIORITY_LEVEL_NORMAL)
6 {
7 SetPriority(PRIORITY_ACTIVITY_SUPPRESS);
8
9 m_sBehaviorTree = "{0191A917B6BD723F}AI/BehaviorTrees/Chimera/Group/ActivitySuppress.bt";
10
11 m_fPriorityLevel.Init(this, priorityLevel);
12 m_Volume.Init(this, suppressionVolume);
13 }
14
15 //-------------------------------------------------------------------------------------------------
16 override void OnActionFailed()
17 {
18 super.OnActionFailed();
20 }
21
22 //-------------------------------------------------------------------------------------------------
23 override void OnActionCompleted()
24 {
25 super.OnActionCompleted();
27 }
28
29 //-------------------------------------------------------------------------------------------------
30 override void OnActionDeselected()
31 {
32 super.OnActionDeselected();
34 }
35}
ref SCR_BTParam< float > m_fPriorityLevel
enum EAIActionFailReason PRIORITY_LEVEL_NORMAL
ResourceName m_sBehaviorTree
void SendCancelMessagesToAllAgents()
void SCR_AIActivityBase(SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint)
ref SCR_BTParamRef< SCR_AISuppressionVolumeBase > m_Volume
void SCR_AISuppressActivity(SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint, SCR_AISuppressionVolumeBase suppressionVolume, float priorityLevel=PRIORITY_LEVEL_NORMAL)