Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkWaypointGetIn.c
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------------
3class SCR_ScenarioFrameworkWaypointGetIn : SCR_ScenarioFrameworkWaypointBoardingEntity
4{
5 [Attribute(defvalue: "10", uiwidget: UIWidgets.Slider, desc: "Radius in m")]
6 float m_fCompletionRadius;
7
8 [Attribute(defvalue: "{712F4795CF8B91C7}Prefabs/AI/Waypoints/AIWaypoint_GetIn.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("1", UIWidgets.CheckBox, "Occupy driver")]
18 bool m_bDriverAllowed;
19
20 [Attribute("1", UIWidgets.CheckBox, "Occupy gunner")]
21 bool m_bGunnerAllowed;
22
23 [Attribute("1", UIWidgets.CheckBox, "Occupy cargo")]
24 bool m_bCargoAllowed;
25
26 //------------------------------------------------------------------------------------------------
27 override void SetDriverAllowed(bool enabled)
28 {
29 m_bDriverAllowed = enabled;
30 }
31
32 //------------------------------------------------------------------------------------------------
33 override bool GetDriverAllowed()
34 {
35 return m_bDriverAllowed;
36 }
37
38 //------------------------------------------------------------------------------------------------
39 override void SetGunnerAllowed(bool enabled)
40 {
41 m_bGunnerAllowed = enabled;
42 }
43
44 //------------------------------------------------------------------------------------------------
45 override bool GetGunnerAllowed()
46 {
47 return m_bGunnerAllowed;
48 }
49
50 //------------------------------------------------------------------------------------------------
51 override void SetCargoAllowed(bool enabled)
52 {
53 m_bCargoAllowed = enabled;
54 }
55
56 //------------------------------------------------------------------------------------------------
57 override bool GetCargoAllowed()
58 {
59 return m_bCargoAllowed;
60 }
61
62 //------------------------------------------------------------------------------------------------
63 override void SetWaypointCompletionRadius(float radius)
64 {
65 m_fCompletionRadius = radius;
66 }
67
68 //------------------------------------------------------------------------------------------------
69 override float GetWaypointCompletionRadius()
70 {
71 return m_fCompletionRadius;
72 }
73
74 //------------------------------------------------------------------------------------------------
75 override void SetWaypointCompletionType(EAIWaypointCompletionType type)
76 {
77 m_eAIWaypointCompletionType = type;
78 }
79
80 //------------------------------------------------------------------------------------------------
81 override EAIWaypointCompletionType GetWaypointCompletionType()
82 {
83 return m_eAIWaypointCompletionType;
84 }
85
86 //------------------------------------------------------------------------------------------------
87 override void SetWaypointPriorityLevel(float priority)
88 {
89 m_fPriorityLevel = priority;
90 }
91
92 //------------------------------------------------------------------------------------------------
93 override float GetWaypointPriorityLevel()
94 {
95 return m_fPriorityLevel;
96 }
97
98 //------------------------------------------------------------------------------------------------
99 override void SetWaypointPrefab(ResourceName prefab)
100 {
101 m_sWaypointPrefab = prefab;
102 }
103
104 //------------------------------------------------------------------------------------------------
105 override ResourceName GetWaypointPrefab()
106 {
107 return m_sWaypointPrefab;
108 }
109}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
EDamageType type
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute