Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkWaypointCaptureRelay.c
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------------
3class SCR_ScenarioFrameworkWaypointCaptureRelay : SCR_ScenarioFrameworkWaypointSmartAction
4{
5 [Attribute(defvalue: "20", uiwidget: UIWidgets.Slider, desc: "Radius in m")]
6 float m_fCompletionRadius;
7
8 [Attribute(defvalue: "{EAAE93F98ED5D218}Prefabs/AI/Waypoints/AIWaypoint_CaptureRelay.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.Any.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("CapturePoint", UIWidgets.EditBox, "Tag of the smart action")]
18 string m_sSmartActionTag;
19
20 //------------------------------------------------------------------------------------------------
21 override void SetWaypointSmartActionTag(string tag)
22 {
23 m_sSmartActionTag = tag;
24 }
25
26 //------------------------------------------------------------------------------------------------
27 override string GetWaypointSmartActionTag()
28 {
29 return m_sSmartActionTag;
30 }
31
32 //------------------------------------------------------------------------------------------------
33 override void SetWaypointCompletionRadius(float radius)
34 {
35 m_fCompletionRadius = radius;
36 }
37
38 //------------------------------------------------------------------------------------------------
39 override float GetWaypointCompletionRadius()
40 {
41 return m_fCompletionRadius;
42 }
43
44 //------------------------------------------------------------------------------------------------
45 override void SetWaypointCompletionType(EAIWaypointCompletionType type)
46 {
47 m_eAIWaypointCompletionType = type;
48 }
49
50 //------------------------------------------------------------------------------------------------
51 override void SetWaypointPriorityLevel(float priority)
52 {
53 m_fPriorityLevel = priority;
54 }
55
56 //------------------------------------------------------------------------------------------------
57 override float GetWaypointPriorityLevel()
58 {
59 return m_fPriorityLevel;
60 }
61
62 //------------------------------------------------------------------------------------------------
63 override EAIWaypointCompletionType GetWaypointCompletionType()
64 {
65 return m_eAIWaypointCompletionType;
66 }
67
68 //------------------------------------------------------------------------------------------------
69 override void SetWaypointPrefab(ResourceName prefab)
70 {
71 m_sWaypointPrefab = prefab;
72 }
73
74 //------------------------------------------------------------------------------------------------
75 override ResourceName GetWaypointPrefab()
76 {
77 return m_sWaypointPrefab;
78 }
79}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
EDamageType type
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
SCR_FieldOfViewSettings Attribute