9 protected SCR_BaseTriggerEntity m_Trigger;
15 m_Trigger = SCR_BaseTriggerEntity.Cast(m_Asset);
21 m_SupportEntity.CancelTask(this.GetTaskID());
22 Print(
"ScenarioFramework: Trigger not found! Make sure the IDs match in both task and Slot component", LogLevel.WARNING);
25 m_Trigger.GetOnActivate().Insert(OnTriggerActivated);
29 void OnTriggerActivated()
31 m_SupportEntity.FinishTask(
this);