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

◆ EnableAllInputs()

override void MissionBase::EnableAllInputs ( bool bForceSupress = false)
inlineprotected

Removes all active input excludes and restrictions.

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

1052 {
1054
1056 {
1057 int count = m_ActiveInputRestrictions.Count();
1058 for (int i = 0; i < count; i++)
1059 {
1061 }
1062 m_ActiveInputRestrictions.Clear(); //redundant?
1063 }
1065 {
1067 }
1068
1069 GetUApi().UpdateControls(); //it is meant to happen instantly, does not wait for update to process
1070 GetUApi().SupressNextFrame(bForceSupress); // supress control for next frame
1071 }
proto native UAInputAPI GetUApi()
ref array< int > m_ActiveInputRestrictions
Определения missionGameplay.c:40
int m_ControlDisabledMode
Определения missionGameplay.c:38
ref array< string > m_ActiveInputExcludeGroups
Определения missionGameplay.c:39
override void RemoveActiveInputRestriction(int restrictor)
Removes one restriction (specific behaviour oudside regular excludes, defined below)
Определения missionGameplay.c:934
proto native void UpdateControls()
proto native void SupressNextFrame(bool bForce)

Перекрестные ссылки GetUApi(), m_ActiveInputExcludeGroups, m_ActiveInputRestrictions, m_ControlDisabledMode, RemoveActiveInputRestriction(), UAInputAPI::SupressNextFrame() и UAInputAPI::UpdateControls().

Используется в OnMissionFinish().