Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.05 KB

README.md

File metadata and controls

35 lines (29 loc) · 1.05 KB

Arma 3 Keybind Framework

What It Does

Vanilla Arma 3 Framework for adding keybinds that can be modified by players. Allows mission makers a simplified way to create new keybinds while allowing users the ability to modify said keybinds to other keys.

Keybind Creation

EarplugsKeybindID = [
	"Earplugs", //Keybind display name
	"Put in your virtual earplugs", //Keybind description
	207, //Keybind DIKKey
	{1 fadeSound 0.3;}, //Keybind code on execute
	false, //Shift?
	false, //Ctrl?
	false, //Alt?
	false //Zeus Keybind?
] call ZAM_fnc_newKeybind; 
//Creates Keybind on END key that fades sound.
//Returns ID of keybind for removal.

Keybind Removal

[EarplugsKeybindID] call ZAM_fnc_removeKeybind;
//Removes the previously created earplugs keybind.
//Will return true if keybind was removed, false if it did not exist.

License

A3-KeybindFramework is licensed under the (MIT License).