Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AIWaypointState.c
Go to the documentation of this file.
1 
6 class SCR_AIWaypointState : Managed
7 {
8  protected SCR_AIGroupUtilityComponent m_Utility;
9  protected AIWaypoint m_Waypoint;
10 
11  void SCR_AIWaypointState(notnull SCR_AIGroupUtilityComponent utility, SCR_AIWaypoint waypoint)
12  {
13  m_Utility = utility;
14  m_Waypoint = waypoint;
15  }
16 
17 
20  void OnSelected();
21 
24  void OnDeselected()
25  {
26  m_Utility.CancelActivitiesRelatedToWaypoint(m_Waypoint);
27  }
28 
31  void OnExecuteWaypointTree()
32  {
33  m_Utility.CancelActivitiesRelatedToWaypoint(m_Waypoint, SCR_AIMoveActivity);
34  }
35 }
SCR_AIWaypoint
Definition: SCR_AIWaypoint.c:5
SCR_AIWaypointState
Definition: SCR_AIWaypointState.c:6
m_Waypoint
protected AIWaypoint m_Waypoint
Definition: SCR_AmbientPatrolSpawnPointComponent.c:48
SCR_AIMoveActivity
Definition: SCR_AIMoveActivity.c:1