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