9 protected string m_sTaskTitleUpdated;
12 protected string m_sTaskDescriptionUpdated;
14 [
Attribute(defvalue:
"30",
desc:
"Delay in seconds for Intel map marker when it is dropped on the ground",
params:
"0 6000 1",
category:
"Task")]
15 protected int m_iIntelMapMarkerUpdateDelay;
17 protected IEntity m_DeliverPoint;
29 m_DeliverPoint = entity;
36 return m_DeliverPoint;
43 return m_iIntelMapMarkerUpdateDelay;
48 override void RestoreToDefault(
bool includeChildren =
false,
bool reinitAfterRestoration =
false)
50 m_DeliverPoint =
null;
52 super.RestoreToDefault(includeChildren, reinitAfterRestoration);
60 if (!
m_Task || !m_DeliverPoint)
70 if (!m_sTaskTitleUpdated.IsEmpty())
71 m_Task.SetTitle(m_sTaskTitleUpdated);
72 if (!m_sTaskDescriptionUpdated.IsEmpty())
73 m_Task.SetDescription(m_sTaskDescriptionUpdated);
81 Print(
"ScenarioFramework: Task Deliver support entity not found in the world, task won't be created!", LogLevel.ERROR);
95 m_eTypeOfTask = SCR_ESFTaskType.DELIVER;