DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ PlayerControlEnable()

override void MissionBase::PlayerControlEnable ( bool bForceSupress)
inlineprivate

Deprecated; removes last input exclude and associated controls restrictions.

См. определение в файле missionGameplay.c строка 837

838 {
839 super.PlayerControlEnable(bForceSupress);
840
841 if (m_ControlDisabledMode != -1)
842 {
843 switch (m_ControlDisabledMode)
844 {
846 {
847 RemoveActiveInputExcludes({"menu"},bForceSupress);
848 break;
849 }
851 {
852 RemoveActiveInputExcludes({"inventory"},bForceSupress);
853 RemoveActiveInputRestriction(EInputRestrictors.INVENTORY);
854 break;
855 }
857 {
858 RemoveActiveInputExcludes({"loopedactions"},bForceSupress);
859 RemoveActiveInputRestriction(EInputRestrictors.MAP);
860 break;
861 }
863 {
864 RemoveActiveInputExcludes({"radialmenu"},bForceSupress);
865 break;
866 }
868 {
869 RemoveActiveInputExcludes({"radialmenu"},bForceSupress);
870 break;
871 }
872 }
873
875
876 PlayerBase player = PlayerBase.Cast( g_Game.GetPlayer() );
877 if (player)
878 {
879 HumanInputController hic = player.GetInputController();
880 hic.LimitsDisableSprint(false);
881 }
882 }
883 }
DayZGame g_Game
Определения DayZGame.c:4074
proto native void LimitsDisableSprint(bool pDisable)
this disables sprint
int m_ControlDisabledMode
Определения missionGameplay.c:38
override void RemoveActiveInputExcludes(array< string > excludes, bool bForceSupress=false)
Removes one or more exclude groups and refreshes excludes.
Определения missionGameplay.c:938
override void RemoveActiveInputRestriction(int restrictor)
Removes one restriction (specific behaviour oudside regular excludes, defined below)
Определения missionGameplay.c:969
const int INPUT_EXCLUDE_MOUSE_RADIAL
Определения 3_Game/DayZ/constants.c:694
const int INPUT_EXCLUDE_ALL
Определения 3_Game/DayZ/constants.c:691
const int INPUT_EXCLUDE_INVENTORY
Определения 3_Game/DayZ/constants.c:692
const int INPUT_EXCLUDE_MAP
Определения 3_Game/DayZ/constants.c:695
const int INPUT_EXCLUDE_MOUSE_ALL
Определения 3_Game/DayZ/constants.c:693

Перекрестные ссылки g_Game, INPUT_EXCLUDE_ALL, INPUT_EXCLUDE_INVENTORY, INPUT_EXCLUDE_MAP, INPUT_EXCLUDE_MOUSE_ALL, INPUT_EXCLUDE_MOUSE_RADIAL, HumanInputController::LimitsDisableSprint(), m_ControlDisabledMode, RemoveActiveInputExcludes() и RemoveActiveInputRestriction().