mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
force mouse to center of screen on gear open.
This commit is contained in:
@@ -368,7 +368,6 @@ class RscDisplayGear {
|
||||
idd = 106;
|
||||
enableDisplay = 1;
|
||||
// 177 based
|
||||
//onLoad = "_this call fn_gearMenuChecks;[] spawn object_monitorGear; {player removeMagazines _x} forEach MeleeMagazines; call gear_ui_init; if (isNil('IGUI_GEAR_activeFilter')) then { IGUI_GEAR_activeFilter = 0;}; private ['_dummy']; _dummy = [_this,'initDialog'] call compile preprocessFile '\z\addons\dayz_code\system\handleGear.sqf'; _dummy = [_this,'onLoad'] execVM '\z\addons\dayz_code\system\handleGear.sqf'; _dummy;";
|
||||
onUnload = "call player_gearSync; call dayz_forceSave;";
|
||||
|
||||
class controls {
|
||||
@@ -998,7 +997,7 @@ class RscDisplayGear {
|
||||
emptyMag2 = "\ca\ui\data\ui_gear_mag2_gs.paa";
|
||||
emptyHGun = "\ca\ui\data\ui_gear_hgun_gs.paa";
|
||||
emptyHGunMag = "\ca\ui\data\ui_gear_hgunmag_gs.paa";
|
||||
onLoad = "_this call fn_gearMenuChecks;[] spawn object_monitorGear; call gear_ui_init; call ui_gear_sound;if (isNil('IGUI_GEAR_activeFilter')) then { IGUI_GEAR_activeFilter = 0;}; private ['_dummy']; _dummy = [_this,'initDialog'] call compile preprocessFile '\z\addons\dayz_code\system\handleGear.sqf'; _dummy = [_this,'onLoad'] execVM '\z\addons\dayz_code\system\handleGear.sqf'; _dummy;";
|
||||
onLoad = "setMousePosition [0.5, 0.5];_this call fn_gearMenuChecks;[] spawn object_monitorGear; call gear_ui_init; call ui_gear_sound;if (isNil('IGUI_GEAR_activeFilter')) then { IGUI_GEAR_activeFilter = 0;}; private ['_dummy']; _dummy = [_this,'initDialog'] call compile preprocessFile '\z\addons\dayz_code\system\handleGear.sqf'; _dummy = [_this,'onLoad'] execVM '\z\addons\dayz_code\system\handleGear.sqf'; _dummy;";
|
||||
class ControlsBackground {
|
||||
class Mainback: RscPicture {
|
||||
idc = 1005;
|
||||
|
||||
Reference in New Issue
Block a user