{"name":"BIS_fnc_functionMeta","operator":null,"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","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":"Returns function's meta data.","syntaxes":[{"syntax":"functionName call BIS_fnc_functionMeta","since":null,"effect":null,"exec":null,"params":[{"name":"functionName","type":"String","optional":true,"default":"parent function's name","description":"function name, e.g., \"BIS_fnc_stalk\"","types":["String"],"since":null,"text":"functionName: String - (Optional, default parent function's name) function name, e.g., \"BIS_fnc_stalk\""}],"returns":{"type":"Array to format [fileLocation, extension, headerType, preInit, postInit, recompile, game, category, name]:","types":["Array"],"description":"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- 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":[{"text":"```sqf\n// returns [\"A3\\functions_f\\Debug\\fn_functionMeta.sqf\", \".sqf\", 0, false, false, false, \"A3\", \"Debug\", \"functionMeta\"]\n\"BIS_fnc_functionMeta\" call BIS_fnc_functionMeta;\n```","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;"]},{"text":"```sqf\n// returns [\"\", \"\", 0, false, false, false, \"\", \"\", \"\"]\n\"unknownFunction\" call BIS_fnc_functionMeta;\n```","code":["// returns [\"\", \"\", 0, false, false, false, \"\", \"\", \"\"]\n\"unknownFunction\" call BIS_fnc_functionMeta;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_exportFunctionsToWiki"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Diagnostic","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}