13 override void CreateConditionComponents()
19 override typename GetInputType()
24 override bool HasTarget()
29 override bool HasProgress()
36 TerritoryFlag totem = TerritoryFlag.Cast( target.GetObject() );
42 float state = totem.GetAnimationPhase(
"flag_mast");
43 if ( totem.FindAttachmentBySlotName(
"Material_FPole_Flag") && state < 1 )
50 override void OnFinishProgressServer(
ActionData action_data )
52 TerritoryFlag totem = TerritoryFlag.Cast( action_data.m_Target.GetObject() );
55 totem.AnimateFlagEx(totem.GetAnimationPhase(
"flag_mast") + UAMisc.FLAG_STEP_INCREMENT, action_data.m_Player);
56 totem.AddRefresherTime01(-UAMisc.FLAG_STEP_INCREMENT);