Arma 3 Scripting

Function in Diagnostic

BIS_fnc_diagKeyLayout

Also available as Markdown and JSON, or read the original wiki page.

Description

Exports default key layout to wiki template.

Syntax

syntax inferred from the function header

[param0, param1] call BIS_fnc_diagKeyLayout

Parameters:

Returns: STRING - wiki export text (also copied to clipboard)

Function header

The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.

/*
Description:
Exports default key layout to wiki template.

Parameter(s):
_this select 0: STRING - category, can be one of following
    "" - all controls in game
    "All"
    "BasicInfantryControls"
    "Car"
    "Air"
    "Helicopter"
    "Submarine"
    "Buldozer"
    "UserActions"
_this select 1: STRING - selection method, can be one of following
    "" - single tap
    "double" - double tap
    "LCtrl" - with left control pressed
    "RCtrl" - with right control pressed
    "LShift" - with left shift pressed
    "RShift" - with right shift pressed

Returns:
STRING - wiki export text (also copied to clipboard)
*/