Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_DefendWaypointPreset.c
Go to the documentation of this file.
4
7{
8 [Attribute("", UIWidgets.EditBox, "Preset name, only informative. Switch using index.")];
9 protected string m_sName;
10
11 [Attribute("true", UIWidgets.CheckBox, "Use turrets?")];
12 protected bool m_bUseTurrets;
13
14 [Attribute("1", UIWidgets.Slider, "Fraction of SA used for this waypoint 0 - no, 1 - all available. The rest uses sector defense", "0 1 0.1")];
15 protected float m_fFractionOfSA;
16
17 [Attribute("", UIWidgets.Auto, "List tags to search in the preset")];
18 protected ref array<string> m_aTagsForSearch;
19
20 //----------------------------------------------------------------------------------------
22 {
23 return m_sName;
24 }
25
26 //----------------------------------------------------------------------------------------
27 void SetPresetName(string newPresetName)
28 {
29 m_sName = newPresetName;
30 }
31
32 //----------------------------------------------------------------------------------------
34 {
35 return m_bUseTurrets;
36 }
37
38 //----------------------------------------------------------------------------------------
39 void SetUseTurrets(bool useTurrets)
40 {
41 m_bUseTurrets = useTurrets;
42 }
43
44 //----------------------------------------------------------------------------------------
46 {
47 return m_fFractionOfSA;
48 }
49
50 //----------------------------------------------------------------------------------------
51 void SetFractionOfSA(float fractionOfSA)
52 {
53 m_fFractionOfSA = fractionOfSA;
54 }
55
56 //----------------------------------------------------------------------------------------
57 void GetTagsForSearch(notnull array<string> outTags)
58 {
59 outTags.Clear();
60 outTags.Copy(m_aTagsForSearch);
61 }
62
63 //----------------------------------------------------------------------------------------
64 void SetTagsForSearch(array<string> inTags)
65 {
66 m_aTagsForSearch.Clear();
67 m_aTagsForSearch.Copy(inTags);
68 }
69};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SetUseTurrets(bool useTurrets)
void SetTagsForSearch(array< string > inTags)
void SetFractionOfSA(float fractionOfSA)
void GetTagsForSearch(notnull array< string > outTags)
void SetPresetName(string newPresetName)
SCR_FieldOfViewSettings Attribute