3 bool m_TendencyRecived;
19 override void CreateConditionComponents()
34 TerritoryFlag totem = TerritoryFlag.Cast( target.GetObject() );
38 float state = totem.GetAnimationPhase(
"flag_mast");
40 if ( totem && totem.FindAttachmentBySlotName(
"Material_FPole_Flag") )
42 if ( player.GetFlagTendencyRaise() && state < 1 )
47 else if ( !player.GetFlagTendencyRaise() && state > 0 )
58 super.Start( action_data );
60 bool state = action_data.m_Player.GetFlagTendencyRaise();
61 action_data.m_Player.SetFlagTendencyRaise(!state);
64 override bool IsInstant()
69 override bool RemoveForceTargetAfterUse()
74 override typename GetInputType()
79 void SetFlagTendencyOnCurrentActionInvalid(
bool state)