summaryrefslogtreecommitdiffstats
path: root/Client/Init/Init_Keybind.sqf
blob: c9e6c08dd88b93959fe1dce4d41c204aa8f122e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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'];
	};
};