4 bool m_HasReceivedEvent;
5 bool m_CancelCondition;
6 int m_InitMovementState;
7 int m_FinalMovementState;
12 EnableStateChangeCallback();
13 EnableCancelCondition(
true);
22 GetGame().GetMission().RemoveActiveInputExcludes({
"map"},
false);
26 GetGame().GetMission().RemoveActiveInputExcludes({
"loopedactions"},
false);
28 GetGame().GetMission().RemoveActiveInputRestriction(EInputRestrictors.MAP);
41 override void SetActionData(ActionData action_data)
47 bool CancelCondition()
52 override void OnStateChange(
int pOldState,
int pCurrentState)
57 if ((pOldState == STATE_LOOP_IN && pCurrentState == STATE_LOOP_LOOP) && !
m_HasReceivedEvent)
63 override void OnAnimationEvent(
int pEventID)
87 override void OnFinish(
bool pCanceled)
108 chernomap.SetMapStateOpen(
false,
m_ActionData.m_Player);
116 void PerformMapChange()
136 if (!
GetGame().IsDedicatedServer())
140 m_UIManager =
GetGame().GetUIManager();
141 m_UIManager.CloseAll();
144 mapMenu = m_UIManager.EnterScriptedMenu(
MENU_MAP, null);
147 GetGame().GetMission().AddActiveInputExcludes({
"map"});
151 GetGame().GetMission().AddActiveInputExcludes({
"loopedactions"});
154 GetGame().GetMission().AddActiveInputRestriction(EInputRestrictors.MAP);
159 chernomap.SetMapStateOpen(
false,
m_ActionData.m_Player);
176 m_Text =
"#unfold_map";