Add new scripting command: disableKeyAction
|Category:||Scripting: New command|
|Affected ArmA II version:||First affected ArmA II version:|
|Reproduced by another DH user:||No||Single / Multi Player?:|
|I am using some Mods:||No||BIForumURL:|
|I am using:||NGUrl:|
|Reproducible for you:||No||WIKIurl:|
|Related to content of DLC:|
Mission designers want to block certain key actions in their missions/game mode.
Reasons are to avoid abuse like TAB lock or commander locking, or for gameplay reasons,
like to disable sprint.
Right now people do this via displyAddEH on the main display.
However this method is problematic as a) mouse and joystick input cannot be blocked,
and it blocks other key actions on the same key too.
disableKeyAction "KEYACTIONNAME" true/false
(false reverts the block again)
By key actions are meant all items of CfgDefaultKeysMapping.
Updated by Qazdar almost 5 years ago
Definately a must-have,and needs to be added as soon as possible ... it will offer a lot of possibilities !
Thanks for the ticket !