Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ScenarioFrameworkWaypointGetInNearest.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
3 class SCR_ScenarioFrameworkWaypointGetInNearest : SCR_ScenarioFrameworkWaypointBoarding
4 {
5  [Attribute(defvalue: "20", desc: "Radius in m")]
6  float m_fCompletionRadius;
7 
8  [Attribute(defvalue: "{B049D4C74FBC0C4D}Prefabs/AI/Waypoints/AIWaypoint_GetInNearest.et", desc: "In Default, it will use specific prefab for each class, but here you can change it if you know what you are doing")]
9  ResourceName m_sWaypointPrefab;
10 
11  [Attribute(defvalue: EAIWaypointCompletionType.All.ToString(), UIWidgets.ComboBox, "AI Waypoint Completion Type", "", ParamEnumArray.FromEnum(EAIWaypointCompletionType))]
12  EAIWaypointCompletionType m_eAIWaypointCompletionType;
13 
14  [Attribute("0", UIWidgets.SpinBox, "Waypoint priority level", "0 2000 1000")]
15  float m_fPriorityLevel;
16 
17  [Attribute("30", UIWidgets.EditBox, "Minimal time to hold the waypoint before it completes")]
18  float m_fHoldingTime;
19 
20  [Attribute("0", UIWidgets.CheckBox, "Occupy driver")]
21  bool m_bDriverAllowed;
22 
23  [Attribute("1", UIWidgets.CheckBox, "Occupy gunner")]
24  bool m_bGunnerAllowed;
25 
26  [Attribute("1", UIWidgets.CheckBox, "Occupy cargo")]
27  bool m_bCargoAllowed;
28 
29  //------------------------------------------------------------------------------------------------
30  override void SetDriverAllowed(bool enabled)
31  {
32  }
33 
34  //------------------------------------------------------------------------------------------------
35  override bool GetDriverAllowed()
36  {
37  return m_bDriverAllowed;
38  }
39 
40  //------------------------------------------------------------------------------------------------
41  override void SetGunnerAllowed(bool enabled)
42  {
43  }
44 
45  //------------------------------------------------------------------------------------------------
46  override bool GetGunnerAllowed()
47  {
48  return m_bGunnerAllowed;
49  }
50 
51  //------------------------------------------------------------------------------------------------
52  override void SetCargoAllowed(bool enabled)
53  {
54  }
55 
56  //------------------------------------------------------------------------------------------------
57  override bool GetCargoAllowed()
58  {
59  return m_bCargoAllowed;
60  }
61 
62  //------------------------------------------------------------------------------------------------
63  override void SetWaypointHoldingTime(float time)
64  {
65  m_fHoldingTime = time;
66  }
67 
68  //------------------------------------------------------------------------------------------------
69  override float GetWaypointHoldingTime()
70  {
71  return m_fHoldingTime;
72  }
73 
74  //------------------------------------------------------------------------------------------------
75  override void SetWaypointCompletionRadius(float radius)
76  {
77  m_fCompletionRadius = radius;
78  }
79 
80  //------------------------------------------------------------------------------------------------
81  override float GetWaypointCompletionRadius()
82  {
83  return m_fCompletionRadius;
84  }
85 
86  //------------------------------------------------------------------------------------------------
87  override void SetWaypointCompletionType(EAIWaypointCompletionType type)
88  {
89  m_eAIWaypointCompletionType = type;
90  }
91 
92  //------------------------------------------------------------------------------------------------
93  override EAIWaypointCompletionType GetWaypointCompletionType()
94  {
95  return m_eAIWaypointCompletionType;
96  }
97 
98  //------------------------------------------------------------------------------------------------
99  override void SetWaypointPriorityLevel(float priority)
100  {
101  m_fPriorityLevel = priority;
102  }
103 
104  //------------------------------------------------------------------------------------------------
105  override float GetWaypointPriorityLevel()
106  {
107  return m_fPriorityLevel;
108  }
109 
110  //------------------------------------------------------------------------------------------------
111  override void SetWaypointPrefab(ResourceName prefab)
112  {
113  m_sWaypointPrefab = prefab;
114  }
115 
116  //------------------------------------------------------------------------------------------------
117  override ResourceName GetWaypointPrefab()
118  {
119  return m_sWaypointPrefab;
120  }
121 }
m_fPriorityLevel
float m_fPriorityLevel
Definition: SendGoalMessage.c:3
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_ScenarioFrameworkWaypointGetInNearest
Definition: SCR_ScenarioFrameworkWaypointGetInNearest.c:3
type
EDamageType type
Definition: SCR_DestructibleTreeV2.c:32
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468