DayZ 1.28
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 строка 903

904 {
905 super.RemoveActiveInputExcludes(excludes,bForceSupress);
906
907 if (excludes.Count() != 0)
908 {
909 bool changed = false;
910
912 {
913 foreach (string excl : excludes)
914 {
915 if (m_ActiveInputExcludeGroups.Find(excl) != -1)
916 {
917 m_ActiveInputExcludeGroups.RemoveItem(excl);
918 changed = true;
919 }
920 }
921
922 if (changed)
923 {
925 }
926 }
927
928 // supress control for next frame
929 GetUApi().SupressNextFrame(bForceSupress);
930 }
931 }
proto native UAInputAPI GetUApi()
override void RefreshExcludes()
queues refresh of input excludes
Определения missionGameplay.c:1031
ref array< string > m_ActiveInputExcludeGroups
Определения missionGameplay.c:39
proto native void SupressNextFrame(bool bForce)

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

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