12class ActionWorldFlagActionSwitch: ActionSingleUseBase
15 void ActionWorldFlagActionSwitch()
39 float state = totem.GetAnimationPhase(
"flag_mast");
41 if ( totem && totem.FindAttachmentBySlotName(
"Material_FPole_Flag") )
43 if ( player.GetFlagTendencyRaise() && state < 1 )
48 else if ( !player.GetFlagTendencyRaise() && state > 0 )
59 super.Start( action_data );
61 bool state = action_data.m_Player.GetFlagTendencyRaise();
62 action_data.m_Player.SetFlagTendencyRaise(!state);
80 void SetFlagTendencyOnCurrentActionInvalid(
bool state)