From 3533c3aa9393fc6350178b196c813dc636ec9cf6 Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:57:23 +0300 Subject: init --- Client/Init/Init_Keybind.sqf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Client/Init/Init_Keybind.sqf (limited to 'Client/Init/Init_Keybind.sqf') diff --git a/Client/Init/Init_Keybind.sqf b/Client/Init/Init_Keybind.sqf new file mode 100644 index 0000000..c9e6c08 --- /dev/null +++ b/Client/Init/Init_Keybind.sqf @@ -0,0 +1,26 @@ +/* Gear keybinding */ +WF_Gear_Hotkeys = { + Private ['_ctrl','_key']; + _key = _this select 1; + _ctrl = _this select 3; + + if (_key in (actionKeys "User15")) then { + WF_Logic setVariable ['filler','all']; + }; + if (_key in (actionKeys "User16")) then { + WF_Logic setVariable ['filler','template']; + }; + if (_key in (actionKeys "User17")) then { + WF_Logic setVariable ['filler','primary']; + }; + if (_key in (actionKeys "User18")) then { + WF_Logic setVariable ['filler','secondary']; + }; + if (_key in (actionKeys "User19")) then { + WF_Logic setVariable ['filler','sidearm']; + }; + if (_key in (actionKeys "User20")) then { + WF_Logic setVariable ['filler','misc']; + }; +}; + -- cgit v1.3.1