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_QRFWaypointConfig.c
Go to the documentation of this file.
1
2
enum
SCR_EQRFGroupOrderType
:
SCR_EQRFGroupType
3
{
4
ANY
= 1 << 16,
5
}
6
7
class
SCR_QRFWaypointConfig
:
ScriptAndConfig
8
{
9
[
Attribute
(
desc
:
"Waypoint prefab"
,
"{93291E72AC23930F}Prefabs/AI/Waypoints/AIWaypoint_Defend.et"
,
category
:
"Waypoints"
)]
10
protected
ResourceName
m_sWPToSpawn;
11
12
[
Attribute
(
SCR_EQRFGroupOrderType
.ANY.ToString(),
UIWidgets
.ComboBox,
desc
:
"To which group type this waypoint is meant to be applied to"
,
""
, ParamEnumArray.FromEnum(
SCR_EQRFGroupOrderType
))]
13
protected
SCR_EQRFGroupOrderType
m_eGroupType;
14
15
[
Attribute
(
"0"
,
UIWidgets
.Auto,
"Offset that will be applied to the position of this WP in relation to QRF target location in direction of spawned group"
,
"0 "
+
int
.MAX+
" 1"
)]
16
protected
int
m_iDistanceOffsetToTargetLocation;
17
18
protected
vector
m_vPosition
;
19
20
//------------------------------------------------------------------------------------------------
21
ResourceName
GetWaypointPrefabName()
22
{
23
return
m_sWPToSpawn;
24
}
25
26
//------------------------------------------------------------------------------------------------
27
SCR_EQRFGroupOrderType
GetOrderType
()
28
{
29
return
m_eGroupType;
30
}
31
32
//------------------------------------------------------------------------------------------------
33
int
GetDistanceOffsetToTargetLocation
()
34
{
35
return
m_iDistanceOffsetToTargetLocation;
36
}
37
38
//------------------------------------------------------------------------------------------------
39
vector
GetPosition
()
40
{
41
return
m_vPosition
;
42
}
43
44
//------------------------------------------------------------------------------------------------
45
// constructor
50
void
SCR_QRFWaypointConfig
(
ResourceName
wpPrefab,
SCR_EQRFGroupOrderType
groupType =
SCR_EQRFGroupOrderType
.ANY,
int
distanceOffset = 0,
vector
wpPosition =
vector
.Zero)
51
{
52
if
(
SCR_StringHelper
.
IsEmptyOrWhiteSpace
(wpPrefab))
53
return
;
54
55
m_sWPToSpawn = wpPrefab;
56
m_eGroupType = groupType;
57
m_iDistanceOffsetToTargetLocation = distanceOffset;
58
m_vPosition
= wpPosition;
59
}
60
}
m_vPosition
vector m_vPosition
Definition
SCR_AITalkRequest.c:23
GetPosition
vector GetPosition()
Definition
SCR_BaseSupportStationComponent.c:811
SCR_EQRFGroupType
SCR_EQRFGroupType
Definition
SCR_QRFGroupConfig.c:2
GetDistanceOffsetToTargetLocation
int GetDistanceOffsetToTargetLocation()
Definition
SCR_QRFWaypointConfig.c:33
GetOrderType
SCR_EQRFGroupOrderType GetOrderType()
Definition
SCR_QRFWaypointConfig.c:27
SCR_QRFWaypointConfig
void SCR_QRFWaypointConfig(ResourceName wpPrefab, SCR_EQRFGroupOrderType groupType=SCR_EQRFGroupOrderType.ANY, int distanceOffset=0, vector wpPosition=vector.Zero)
Definition
SCR_QRFWaypointConfig.c:50
SCR_EQRFGroupOrderType
SCR_EQRFGroupOrderType
Extension to allow for comparing orders with type of a group to which it should apply with option to ...
Definition
SCR_QRFWaypointConfig.c:3
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
ResourceName
Definition
ResourceName.c:13
SCR_StringHelper
Definition
SCR_StringHelper.c:2
SCR_StringHelper::IsEmptyOrWhiteSpace
static bool IsEmptyOrWhiteSpace(string input)
Definition
SCR_StringHelper.c:594
ScriptAndConfig
Definition
Types.c:124
UIWidgets
Definition
attributes.c:40
vector
Definition
vector.c:13
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
ANY
@ ANY
Will list all servers regardless platform compatibility.
Definition
EnScript.c:8
scripts
Game
ScenarioFramework
Configs
SCR_QRFWaypointConfig.c
Generated by
1.17.0