summaryrefslogtreecommitdiffstats
path: root/Client/Init/Init_Keybind.sqf
diff options
context:
space:
mode:
authorhybrid <hybrid@hybridlabs.pro>2026-06-11 19:55:24 +0300
committerhybrid <hybrid@hybridlabs.pro>2026-06-11 19:55:24 +0300
commit628d33984d9228f1781d13a65fbb80f35facc899 (patch)
treecd909141f87e14f22c3511549a9bc067d9ff8b50 /Client/Init/Init_Keybind.sqf
downloada2wf_sara-628d33984d9228f1781d13a65fbb80f35facc899.tar.gz
a2wf_sara-628d33984d9228f1781d13a65fbb80f35facc899.tar.bz2
a2wf_sara-628d33984d9228f1781d13a65fbb80f35facc899.zip
init
Diffstat (limited to 'Client/Init/Init_Keybind.sqf')
-rw-r--r--Client/Init/Init_Keybind.sqf26
1 files changed, 26 insertions, 0 deletions
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'];
+ };
+};
+