diff options
| author | hybrid <hybrid@hybridlabs.pro> | 2026-06-11 19:38:09 +0300 |
|---|---|---|
| committer | hybrid <hybrid@hybridlabs.pro> | 2026-06-11 19:38:09 +0300 |
| commit | a3a91d4f45b22fd487ecbc954ad979be5d03efdd (patch) | |
| tree | a554ab159a347dcd6c00ca1c7c26c1ec3ac0a6bd /Client/Init/Init_Keybind.sqf | |
| download | a2wf_chernarus-a3a91d4f45b22fd487ecbc954ad979be5d03efdd.tar.gz a2wf_chernarus-a3a91d4f45b22fd487ecbc954ad979be5d03efdd.tar.bz2 a2wf_chernarus-a3a91d4f45b22fd487ecbc954ad979be5d03efdd.zip | |
Diffstat (limited to '')
| -rw-r--r-- | Client/Init/Init_Keybind.sqf | 26 |
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'];
+ };
+};
+
|
