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

◆ EnableAllInputs()

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

Removes all active input excludes and restrictions.

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

1042 {
1044
1046 {
1047 int count = m_ActiveInputRestrictions.Count();
1048 for (int i = 0; i < count; i++)
1049 {
1051 }
1052 m_ActiveInputRestrictions.Clear(); //redundant?
1053 }
1055 {
1057 }
1058
1059 GetUApi().UpdateControls(); //it is meant to happen instantly, does not wait for update to process
1060 GetUApi().SupressNextFrame(bForceSupress); // supress control for next frame
1061 }
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:924
proto native void UpdateControls()
proto native void SupressNextFrame(bool bForce)

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

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