3 const float TIME_TO_COMPLETE = 24.0;
5 override void CreateActionComponent()
9 CAContinuousRepeat.Cast(m_ActionData.m_ActionComponent).SetProgress(alarm.GetAnimationPhase(
"ClockAlarm") * TIME_TO_COMPLETE);
25 override void CreateConditionComponents()
31 override bool HasProneException()
36 override bool HasTarget()
50 override void OnEndServer(
ActionData action_data)
52 float progress = action_data.m_Callback.GetActionComponentProgress();
54 clock.SetAlarmTimeServer(progress);
59 if (action_data.m_Callback)
61 float progress = action_data.m_Callback.GetActionComponentProgress();
63 alarm.SetAnimationPhaseNow(
"ClockAlarm", progress);