1684 {
1685 PlayerBase player;
1687 ActionBase action;
1688
1690 {
1692 {
1694
1696 if (!player)
1697 return;
1698
1699 amb = player.GetActionManager();
1700 if (!amb)
1701 return;
1702
1703 action = amb.GetRunningAction();
1704 if (action && amb.GetActionState(action) !=
UA_NONE)
1705 {
1706 amb.RequestInterruptAction();
1707 }
1708 return;
1709 }
1710
1712 {
1714 {
1716 }
1717
1720 }
1721 }
1722 else
1723 {
1725 {
1728
1730 if (!player)
1731 return;
1732
1733 amb = player.GetActionManager();
1734 if (!amb)
1735 return;
1736
1737 action = amb.GetRunningAction();
1738 if (action && amb.GetActionState(action) !=
UA_NONE)
1739 {
1740 amb.RequestInterruptAction();
1741 }
1742 }
1743 }
1744 }
void ActionManagerBase(PlayerBase player)
int GetID()
Get the ID registered in SEffectManager.
proto native UIManager GetUIManager()
override ScriptCallQueue GetCallQueue(int call_category)
proto native Mission GetMission()
UIScriptedMenu m_ConnectionMenu
proto void Remove(func fn)
remove specific call from queue
proto native UIScriptedMenu EnterScriptedMenu(int id, UIMenuPanel parent)
Create & open menu with specific id (see MenuID) and set its parent.
bool CloseAll()
Close all opened menus.
proto native CGame GetGame()