Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_QRFWaypointConfig.c
Go to the documentation of this file.
6
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 //------------------------------------------------------------------------------------------------
28 {
29 return m_eGroupType;
30 }
31
32 //------------------------------------------------------------------------------------------------
34 {
35 return m_iDistanceOffsetToTargetLocation;
36 }
37
38 //------------------------------------------------------------------------------------------------
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 {
53 return;
54
55 m_sWPToSpawn = wpPrefab;
56 m_eGroupType = groupType;
57 m_iDistanceOffsetToTargetLocation = distanceOffset;
58 m_vPosition = wpPosition;
59 }
60}
vector m_vPosition
SCR_EQRFGroupType
int GetDistanceOffsetToTargetLocation()
SCR_EQRFGroupOrderType GetOrderType()
void SCR_QRFWaypointConfig(ResourceName wpPrefab, SCR_EQRFGroupOrderType groupType=SCR_EQRFGroupOrderType.ANY, int distanceOffset=0, vector wpPosition=vector.Zero)
SCR_EQRFGroupOrderType
Extension to allow for comparing orders with type of a group to which it should apply with option to ...
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
static bool IsEmptyOrWhiteSpace(string input)
SCR_FieldOfViewSettings Attribute
@ ANY
Will list all servers regardless platform compatibility.
Definition EnScript.c:8