Feature #29130

Add new scripting command: disableKeyAction

Added by kju about 3 years ago. Updated almost 3 years ago.

Status:Assigned Start date:03/03/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Scripting: New command
Target version:-
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:

Description

Why
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.

Syntax

disableKeyAction "KEYACTIONNAME" true/false

(false reverts the block again)

Note
By key actions are meant all items of CfgDefaultKeysMapping.


Related issues

related to ARMA2 Community Issue Tracker - Bug #8212: displayAddEventHandler 'MouseButtonDown' with return true... Assigned 01/16/2010 04/01/2012
related to ARMA2 Community Issue Tracker - Feature #29131: Add new scripting command: executeKeyAction Assigned 03/03/2012

History

Updated by kju about 3 years ago

  • Description updated (diff)

Updated by Qazdar about 3 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 !

Updated by kju almost 3 years ago

  • Category changed from Scripting: Problem to Scripting: New command

Updated by kju almost 3 years ago

  • Status changed from New to Assigned

Also available in: Atom PDF