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

◆ RemoveActiveInputExcludes()

override void MissionBase::RemoveActiveInputExcludes ( array< string > excludes,
bool bForceSupress = false )
inlineprotected

Removes one or more exclude groups and refreshes excludes.

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

894 {
895 super.RemoveActiveInputExcludes(excludes,bForceSupress);
896
897 if (excludes.Count() != 0)
898 {
899 bool changed = false;
900
902 {
903 foreach (string excl : excludes)
904 {
905 if (m_ActiveInputExcludeGroups.Find(excl) != -1)
906 {
907 m_ActiveInputExcludeGroups.RemoveItem(excl);
908 changed = true;
909 }
910 }
911
912 if (changed)
913 {
915 }
916 }
917
918 // supress control for next frame
919 GetUApi().SupressNextFrame(bForceSupress);
920 }
921 }
proto native UAInputAPI GetUApi()
override void RefreshExcludes()
queues refresh of input excludes
Определения missionGameplay.c:1021
ref array< string > m_ActiveInputExcludeGroups
Определения missionGameplay.c:39
proto native void SupressNextFrame(bool bForce)

Перекрестные ссылки GetUApi(), m_ActiveInputExcludeGroups, RefreshExcludes() и UAInputAPI::SupressNextFrame().

Используется в Continue(), HideChat(), HideInventory() и PlayerControlEnable().