6 float m_fCompletionRadius;
8 [
Attribute(defvalue:
"{8AD8C82346156494}Prefabs/AI/Waypoints/AIWaypoint_GetInSelected.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;
11 [
Attribute(defvalue: EAIWaypointCompletionType.All.ToString(), UIWidgets.ComboBox,
"AI Waypoint Completion Type",
"", ParamEnumArray.FromEnum(EAIWaypointCompletionType))]
12 EAIWaypointCompletionType m_eAIWaypointCompletionType;
14 [
Attribute(
"0", UIWidgets.SpinBox,
"Waypoint priority level",
"0 2000 1000")]
15 float m_fPriorityLevel;
17 [
Attribute(
"0", UIWidgets.EditBox,
"Minimal time to hold the waypoint before it completes")]
20 [
Attribute(
"0", UIWidgets.CheckBox,
"Occupy driver")]
21 bool m_bDriverAllowed;
23 [
Attribute(
"1", UIWidgets.CheckBox,
"Occupy gunner")]
24 bool m_bGunnerAllowed;
26 [
Attribute(
"1", UIWidgets.CheckBox,
"Occupy cargo")]
30 override void SetDriverAllowed(
bool enabled)
35 override bool GetDriverAllowed()
37 return m_bDriverAllowed;
41 override void SetGunnerAllowed(
bool enabled)
46 override bool GetGunnerAllowed()
48 return m_bGunnerAllowed;
52 override void SetCargoAllowed(
bool enabled)
57 override bool GetCargoAllowed()
59 return m_bCargoAllowed;
63 override void SetWaypointHoldingTime(
float time)
65 m_fHoldingTime = time;
69 override float GetWaypointHoldingTime()
71 return m_fHoldingTime;
75 override void SetWaypointCompletionRadius(
float radius)
77 m_fCompletionRadius = radius;
81 override float GetWaypointCompletionRadius()
83 return m_fCompletionRadius;
87 override void SetWaypointCompletionType(EAIWaypointCompletionType
type)
89 m_eAIWaypointCompletionType =
type;
93 override EAIWaypointCompletionType GetWaypointCompletionType()
95 return m_eAIWaypointCompletionType;
99 override void SetWaypointPriorityLevel(
float priority)
105 override float GetWaypointPriorityLevel()
111 override void SetWaypointPrefab(ResourceName prefab)
113 m_sWaypointPrefab = prefab;
117 override ResourceName GetWaypointPrefab()
119 return m_sWaypointPrefab;