{"name":"actionKeysImages","title":"actionKeysImages","type":"command","url":"https://community.bistudio.com/wiki/actionKeysImages","revid":369623,"updated":"2024-09-27T22:13:10Z","groups":["Interaction"],"status":"ok","games":{"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofpe 1.00","arma3_since":"0.50","description":"Returns a list of button images or names assigned to the given user action.\nA maximum of *maxKeys* keys is listed.\nYou can find the action names in the ControllerSchemes config class or user action names.","syntaxes":[{"syntax":"actionKeysImages userAction","params":[{"name":"userAction","type":"String","type_expr":"String"}],"returns":{"type":"Structured Text","type_expr":"Structured Text"},"form":"unary","right":{"text":"userAction"}},{"syntax":"actionKeysImages [userAction, maxKeys]","params":[{"name":"userAction","type":"String","type_expr":"String"},{"name":"maxKeys","type":"Number","type_expr":"Number"}],"returns":{"type":"Structured Text","type_expr":"Structured Text"},"form":"unary","right":{"text":"[userAction, maxKeys]"}}],"examples":[{"code":["_text = actionKeysImages \"ReloadMagazine\";"]},{"code":["_reload = actionKeysImages [\"ReloadMagazine\", 1] // returns \"R\" (including the quotation marks!)"]}],"see_also":["actionKeys","actionKeysNames","actionKeysNamesArray","actionName","inputAction"]}