Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkWaypointGetInNearest.c
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------------
3class SCR_ScenarioFrameworkWaypointGetInNearest : SCR_ScenarioFrameworkWaypointBoardingTimed
4{
5 [Attribute(defvalue: "20", uiwidget: UIWidgets.Slider, 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("1", 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 m_bDriverAllowed = enabled;
33 }
34
35 //------------------------------------------------------------------------------------------------
36 override bool GetDriverAllowed()
37 {
38 return m_bDriverAllowed;
39 }
40
41 //------------------------------------------------------------------------------------------------
42 override void SetGunnerAllowed(bool enabled)
43 {
44 m_bGunnerAllowed = enabled;
45 }
46
47 //------------------------------------------------------------------------------------------------
48 override bool GetGunnerAllowed()
49 {
50 return m_bGunnerAllowed;
51 }
52
53 //------------------------------------------------------------------------------------------------
54 override void SetCargoAllowed(bool enabled)
55 {
56 m_bCargoAllowed = enabled;
57 }
58
59 //------------------------------------------------------------------------------------------------
60 override bool GetCargoAllowed()
61 {
62 return m_bCargoAllowed;
63 }
64
65 //------------------------------------------------------------------------------------------------
66 override void SetWaypointHoldingTime(float time)
67 {
68 m_fHoldingTime = time;
69 }
70
71 //------------------------------------------------------------------------------------------------
72 override float GetWaypointHoldingTime()
73 {
74 return m_fHoldingTime;
75 }
76
77 //------------------------------------------------------------------------------------------------
78 override void SetWaypointCompletionRadius(float radius)
79 {
80 m_fCompletionRadius = radius;
81 }
82
83 //------------------------------------------------------------------------------------------------
84 override float GetWaypointCompletionRadius()
85 {
86 return m_fCompletionRadius;
87 }
88
89 //------------------------------------------------------------------------------------------------
90 override void SetWaypointCompletionType(EAIWaypointCompletionType type)
91 {
92 m_eAIWaypointCompletionType = type;
93 }
94
95 //------------------------------------------------------------------------------------------------
96 override EAIWaypointCompletionType GetWaypointCompletionType()
97 {
98 return m_eAIWaypointCompletionType;
99 }
100
101 //------------------------------------------------------------------------------------------------
102 override void SetWaypointPriorityLevel(float priority)
103 {
104 m_fPriorityLevel = priority;
105 }
106
107 //------------------------------------------------------------------------------------------------
108 override float GetWaypointPriorityLevel()
109 {
110 return m_fPriorityLevel;
111 }
112
113 //------------------------------------------------------------------------------------------------
114 override void SetWaypointPrefab(ResourceName prefab)
115 {
116 m_sWaypointPrefab = prefab;
117 }
118
119 //------------------------------------------------------------------------------------------------
120 override ResourceName GetWaypointPrefab()
121 {
122 return m_sWaypointPrefab;
123 }
124}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
EDamageType type
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute