6 protected string m_sForcedArea;
8 [
Attribute(
desc:
"Name of the Layer Task that will get spawned under attached Area. If left empty, Layer Task will be randomly selected",
category:
"Debug")];
9 protected string m_sForcedLayerTask;
17 IEntity entity =
GetGame().GetWorld().FindEntityByName(m_sForcedArea);
25 SCR_ScenarioFrameworkLayerTask GetForcedLayerTask()
30 IEntity entity =
GetGame().GetWorld().FindEntityByName(m_sForcedLayerTask);
34 return SCR_ScenarioFrameworkLayerTask.Cast(entity.FindComponent(SCR_ScenarioFrameworkLayerTask));