{"name":"BIS_fnc_functionMeta","title":"BIS fnc functionMeta","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_functionMeta","revid":330725,"updated":"2022-11-01T15:16:55Z","groups":["Diagnostic"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Returns function's meta data.","syntaxes":[{"syntax":"functionName call BIS_fnc_functionMeta","params":[{"name":"functionName","type":"String","optional":true,"default":"parent function's name","description":"function name, e.g., \"BIS_fnc_stalk\"","type_expr":"String","text":"functionName: String - (Optional, default parent function's name) function name, e.g., \"BIS_fnc_stalk\""}],"returns":{"type":"Array","type_expr":"Array","description":"to format [fileLocation, extension, headerType, preInit, postInit, recompile, game, category, name]:\n- fileLocation: String - extension: String - to format \".extension\", e.g \".sqf\", \".fsm\" - headerType: Number - one of: - 0: No Debug - header saves parent script name and current script name into variables - 1: Save script Map - header additionaly save an array of all parent scripts into variable - 2: Save and log script map - apart from saving into variable, script map is also logged through debugLog - preInit: Boolean - postInit: Boolean - recompile: Boolean - game: String - category: String - name: String - simple name, without TAG_fnc","text":"Array to format [fileLocation, extension, headerType, preInit, postInit, recompile, game, category, name]:\n\n- fileLocation: String\n- extension: String - to format \".extension\", e.g \".sqf\", \".fsm\"\n- headerType: Number - one of:\n  - 0: No Debug - header saves parent script name and current script name into variables\n  - 1: Save script Map - header additionaly save an array of all parent scripts into variable\n  - 2: Save and log script map - apart from saving into variable, script map is also logged through debugLog\n- preInit: Boolean\n- postInit: Boolean\n- recompile: Boolean\n- game: String\n- category: String\n- name: String - simple name, without TAG_fnc"}}],"examples":[{"code":["// returns [\"A3\\functions_f\\Debug\\fn_functionMeta.sqf\", \".sqf\", 0, false, false, false, \"A3\", \"Debug\", \"functionMeta\"]\n\"BIS_fnc_functionMeta\" call BIS_fnc_functionMeta;"]},{"code":["// returns [\"\", \"\", 0, false, false, false, \"\", \"\", \"\"]\n\"unknownFunction\" call BIS_fnc_functionMeta;"]}],"see_also":["BIS_fnc_exportFunctionsToWiki"]}