{"name":"BIS_fnc_diagConfig","operator":null,"title":"BIS fnc diagConfig","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_diagConfig","revid":309644,"updated":"2022-05-05T12:07:55Z","groups":["Diagnostic"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Prints config entries.","syntaxes":[{"syntax":"[param0, param1, param2] call BIS_fnc_diagConfig","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"Config","types":["Config"],"optional":false,"default":"configFile","description":"config class which will be searched (default: configFile)","since":null,"text":"0: CONFIG - config class which will be searched (default: configFile)","source":"docblock"},{"name":"param1","type":"String, Array","types":["String","Array"],"optional":false,"default":null,"description":"entry name(s) whose values will be printed","since":null,"text":"1: STRING or ARRAY - entry name(s) whose values will be printed","source":"docblock"},{"name":"param2","type":"String","types":["String"],"optional":false,"default":null,"description":"scan mode, can be one of following:\n\"controls\" - recursively scans controls in root, class controls, class controlsBackground and in RscControlsGroup controls (type = 15).\n\"turrets\" - recursively scans vehicles's turrets.\n\"weapons\" - scans weapon muzzles and modes.\n(default) - scans just class roots.","since":null,"text":"2: STRING - scan mode, can be one of following:\n\"controls\" - recursively scans controls in root, class controls, class controlsBackground and in RscControlsGroup controls (type = 15).\n\"turrets\" - recursively scans vehicles's turrets.\n\"weapons\" - scans weapon muzzles and modes.\n(default) - scans just class roots.","source":"docblock"}],"returns":{"type":"String","types":["String"],"description":null,"text":"STRING\n\nResults are printed to debug log and wiki compatible table is copied to clipboard.","source":"docblock"},"inferred":true}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Diagnostic","Functions","Introduced with Arma 3 version 1.00"],"docblock":{"author":null,"description":"Prints config entries.","params":[{"index":0,"name":null,"types":["Config"],"optional":false,"default":"configFile","description":"config class which will be searched (default: configFile)","text":"CONFIG - config class which will be searched (default: configFile)"},{"index":1,"name":null,"types":["String","Array"],"optional":false,"default":null,"description":"entry name(s) whose values will be printed","text":"STRING or ARRAY - entry name(s) whose values will be printed"},{"index":2,"name":null,"types":["String"],"optional":false,"default":null,"description":"scan mode, can be one of following:\n\"controls\" - recursively scans controls in root, class controls, class controlsBackground and in RscControlsGroup controls (type = 15).\n\"turrets\" - recursively scans vehicles's turrets.\n\"weapons\" - scans weapon muzzles and modes.\n(default) - scans just class roots.","text":"STRING - scan mode, can be one of following:\n\"controls\" - recursively scans controls in root, class controls, class controlsBackground and in RscControlsGroup controls (type = 15).\n\"turrets\" - recursively scans vehicles's turrets.\n\"weapons\" - scans weapon muzzles and modes.\n(default) - scans just class roots."}],"returns":{"types":["String"],"text":"STRING\n\nResults are printed to debug log and wiki compatible table is copied to clipboard."},"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Description:\nPrints config entries.\n\nParameter(s):\n    0: CONFIG - config class which will be searched (default: configFile)\n    1: STRING or ARRAY - entry name(s) whose values will be printed\n    2: STRING - scan mode, can be one of following:\n        \"controls\" - recursively scans controls in root, class controls, class controlsBackground and in RscControlsGroup controls (type = 15).\n        \"turrets\" - recursively scans vehicles's turrets.\n        \"weapons\" - scans weapon muzzles and modes.\n        (default) - scans just class roots.\n\nReturns:\nSTRING\n\nResults are printed to debug log and wiki compatible table is copied to clipboard."},"filled_from_docblock":["description","params","syntax","returns"]}