PC_loop_allow_acc_factor = { params ["_percent"]; while {isServer} do { waitUntil { sleep 0.1; commandingMenu in ["RscMainMenu","RscMoveHigh","#WATCH","#WATCH0","RscWatchDir","RscWatchMoreDir","#GET_IN","RscStatus","RscCallSupport","#ACTION","RscCombatMode","RscFormations","RscTeam","RscSelectTeam","RscReply","#User:BIS_Menu_GroupCommunication","#CUSTOM_RADIO","RscRadio","RscGroupRootMenu","#User:BIS_fnc_addCommMenuItem_menu","RscMenuReply","RscMenuTeam","RscMenuFormations","RscMenuSelectTeam","RscMenuTeam","RscMenuCombatMode","RscMenuStatus","RscMenuEngage","#WATCH22","RscMenuMove"]; }; setAccTime (0.01 * _percent); waitUntil { sleep 0.1; !(commandingMenu in ["RscMainMenu","RscMoveHigh","#WATCH","#WATCH0","RscWatchDir","RscWatchMoreDir","#GET_IN","RscStatus","RscCallSupport","#ACTION","RscCombatMode","RscFormations","RscTeam","RscSelectTeam","RscReply","#User:BIS_Menu_GroupCommunication","#CUSTOM_RADIO","RscRadio","RscGroupRootMenu","#User:BIS_fnc_addCommMenuItem_menu","RscMenuReply","RscMenuTeam","RscMenuFormations","RscMenuSelectTeam","RscMenuTeam","RscMenuCombatMode","RscMenuStatus","RscMenuEngage","#WATCH22","RscMenuMove"]); }; setAccTime 1; }; }; [20] spawn PC_loop_allow_acc_factor; // 20 - сколько процентов от реальной скорости времени должно остаться.
Скрипт, замедляющий игру во время просмотра меню команд
Автор:
Ibragim
, 21 Feb 2021 11:49
В этой теме нет ответов
#1 OFFLINE
Отправлено 21 February 2021 - 11:49