Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_DefendWaypointPreset.c
Go to the documentation of this file.
1
class
SCR_DefendWaypointPresetClass
:
SCR_DefendWaypointClass
2
{
3
};
4
5
[
BaseContainerProps
()]
6
class
SCR_DefendWaypointPreset
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
//----------------------------------------------------------------------------------------
21
string
GetPresetName
()
22
{
23
return
m_sName
;
24
}
25
26
//----------------------------------------------------------------------------------------
27
void
SetPresetName
(
string
newPresetName)
28
{
29
m_sName
= newPresetName;
30
}
31
32
//----------------------------------------------------------------------------------------
33
bool
GetUseTurrets
()
34
{
35
return
m_bUseTurrets
;
36
}
37
38
//----------------------------------------------------------------------------------------
39
void
SetUseTurrets
(
bool
useTurrets)
40
{
41
m_bUseTurrets
= useTurrets;
42
}
43
44
//----------------------------------------------------------------------------------------
45
float
GetFractionOfSA
()
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
};
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_DefendWaypointClass
Definition
SCR_DefendWaypoint.c:2
SCR_DefendWaypointPresetClass
Definition
SCR_DefendWaypointPreset.c:2
SCR_DefendWaypointPreset
Definition
SCR_DefendWaypointPreset.c:7
SCR_DefendWaypointPreset::m_sName
string m_sName
Definition
SCR_DefendWaypointPreset.c:9
SCR_DefendWaypointPreset::SetUseTurrets
void SetUseTurrets(bool useTurrets)
Definition
SCR_DefendWaypointPreset.c:39
SCR_DefendWaypointPreset::SetTagsForSearch
void SetTagsForSearch(array< string > inTags)
Definition
SCR_DefendWaypointPreset.c:64
SCR_DefendWaypointPreset::m_aTagsForSearch
ref array< string > m_aTagsForSearch
Definition
SCR_DefendWaypointPreset.c:18
SCR_DefendWaypointPreset::SetFractionOfSA
void SetFractionOfSA(float fractionOfSA)
Definition
SCR_DefendWaypointPreset.c:51
SCR_DefendWaypointPreset::GetPresetName
string GetPresetName()
Definition
SCR_DefendWaypointPreset.c:21
SCR_DefendWaypointPreset::GetTagsForSearch
void GetTagsForSearch(notnull array< string > outTags)
Definition
SCR_DefendWaypointPreset.c:57
SCR_DefendWaypointPreset::m_fFractionOfSA
float m_fFractionOfSA
Definition
SCR_DefendWaypointPreset.c:15
SCR_DefendWaypointPreset::GetUseTurrets
bool GetUseTurrets()
Definition
SCR_DefendWaypointPreset.c:33
SCR_DefendWaypointPreset::m_bUseTurrets
bool m_bUseTurrets
Definition
SCR_DefendWaypointPreset.c:12
SCR_DefendWaypointPreset::SetPresetName
void SetPresetName(string newPresetName)
Definition
SCR_DefendWaypointPreset.c:27
SCR_DefendWaypointPreset::GetFractionOfSA
float GetFractionOfSA()
Definition
SCR_DefendWaypointPreset.c:45
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
AI
Group
SCR_DefendWaypointPreset.c
Generated by
1.17.0