# Diagnostic (functions)

- [BIN_fnc_debugDraw](../../functions/BIN_fnc_debugDraw.md): 
- [BIN_fnc_debugDrawMapInit](../../functions/BIN_fnc_debugDrawMapInit.md): 
- [BIN_fnc_debugText](../../functions/BIN_fnc_debugText.md): 
- [BIN_fnc_isExtensionError](../../functions/BIN_fnc_isExtensionError.md): Returns true and displays description of the error from extension if there was an error.
- [BIS_fnc_animViewer](../../functions/BIS_fnc_animViewer.md): Opens the Splendid™ Animation Viewer.
- [BIS_fnc_camera](../../functions/BIS_fnc_camera.md): Splendid™ Camera, *"Ultimate Screenshot Simulator"*
- [BIS_fnc_cameraOld](../../functions/BIS_fnc_cameraOld.md): Classic camera script, replaced by the Splendid™ BIS_fnc_camera.
- [BIS_fnc_codePerformance](../../functions/BIS_fnc_codePerformance.md): Measures how much time it takes to execute given expression. Results may vary based on overall performance; use this function to compare alternative scripting approaches rather than to measure specific values.
- [BIS_fnc_configViewer](../../functions/BIS_fnc_configViewer.md): Opens the Splendid™ Config Viewer.
- [BIS_fnc_debugConsoleExec](../../functions/BIS_fnc_debugConsoleExec.md): Executes Debug Console code.
- [BIS_fnc_debugProfile](../../functions/BIS_fnc_debugProfile.md): Purges user profile from unwanted BIS_fnc_diagAAR data. If more than 7500 entries are found, the user is asked to delete profileNamespace variable BIS_fnc_diagAAR_data.
- [BIS_fnc_deltaTime](../../functions/BIS_fnc_deltaTime.md): Calculates and returns the time's delta between previous and current call to this function.
- [BIS_fnc_diagAAR](../../functions/BIS_fnc_diagAAR.md): Fill an AAR (After Action Review) display with data and Event Handlers.
- [BIS_fnc_diagAARrecord](../../functions/BIS_fnc_diagAARrecord.md): Starts recording units position and events for an AAR (After Action Review).
- [BIS_fnc_diagAnim](../../functions/BIS_fnc_diagAnim.md): Displays or logs animation states: - animChanged - when action is performed (only to debug.log) - animDone - when animation chain that was started by action is finished (only to debug.log) - animStateChanged - each…
- [BIS_fnc_diagBulletCam](../../functions/BIS_fnc_diagBulletCam.md): Add a "bullet camera" to shots fired by the specified unit.
- [BIS_fnc_diagConfig](../../functions/BIS_fnc_diagConfig.md): Prints config entries.
- [BIS_fnc_diagFindMissingAuthors](../../functions/BIS_fnc_diagFindMissingAuthors.md): Copies a list of objects to the clipboard which miss the author attribute.
- [BIS_fnc_diagHit](../../functions/BIS_fnc_diagHit.md): Tracks received wounds. (getNumber (missionConfigFile >> "diagHit") > 0) has to be true.
- [BIS_fnc_diagJIRAlink](../../functions/BIS_fnc_diagJIRAlink.md): *N/A*
- [BIS_fnc_diagKey](../../functions/BIS_fnc_diagKey.md): Tracks pressed keys. (getNumber (missionConfigFile >> "diagKey") > 0) has to be true.
- [BIS_fnc_diagKeyLayout](../../functions/BIS_fnc_diagKeyLayout.md): Exports default key layout to wiki template.
- [BIS_fnc_diagKeyTest](../../functions/BIS_fnc_diagKeyTest.md): Returns all user actions according to mode.
- [BIS_fnc_diagKnownAsTarget](../../functions/BIS_fnc_diagKnownAsTarget.md): Visualize and profile which units know about one specific unit and how much they do. Calling function again stops diagnostics.
- [BIS_fnc_diagKnownTargets](../../functions/BIS_fnc_diagKnownTargets.md): Visualize and profile which units one specific unit knows about and how much. Calling function again stops diagnostics.
- [BIS_fnc_diagLoop](../../functions/BIS_fnc_diagLoop.md): Runs scripted loop. Repeated call terminates previous loops.
- [BIS_fnc_diagMacros](../../functions/BIS_fnc_diagMacros.md): Exports config macros.
- [BIS_fnc_diagMacrosAuthor](../../functions/BIS_fnc_diagMacrosAuthor.md): *N/A*
- [BIS_fnc_diagMacrosEditorPreview](../../functions/BIS_fnc_diagMacrosEditorPreview.md): *N/A*
- [BIS_fnc_diagMacrosMapSize](../../functions/BIS_fnc_diagMacrosMapSize.md): Prints mapSize values based on real object size and copies it to clipboard. Mission has to be running on order to get the values.
- [BIS_fnc_diagMacrosNameSound](../../functions/BIS_fnc_diagMacrosNameSound.md): Detects vehicle types and prints their radio protocol definitions to clipboard.
- [BIS_fnc_diagMacrosSimpleObject](../../functions/BIS_fnc_diagMacrosSimpleObject.md): Generates simple object config data.
- [BIS_fnc_diagMacrosVerify](../../functions/BIS_fnc_diagMacrosVerify.md): *N/A*
- [BIS_fnc_diagMissionPositions](../../functions/BIS_fnc_diagMissionPositions.md): Displays positions of units from all missions
- [BIS_fnc_diagMissionWeapons](../../functions/BIS_fnc_diagMissionWeapons.md): Lists all weapons and magazines available in a mission.
- [BIS_fnc_diagObjectPerformance](../../functions/BIS_fnc_diagObjectPerformance.md): Benchmarks objects vs. simple objects performance and exports the data into .csv sheet.
- [BIS_fnc_diagPreview](../../functions/BIS_fnc_diagPreview.md): Previews selected classes from given container.
- [BIS_fnc_diagPreviewCycle](../../functions/BIS_fnc_diagPreviewCycle.md): Previews selected class from the list. When cheat1 (?) is activated, classnames will be shown instead of display names.
- [BIS_fnc_diagPreviewVehicleCrew](../../functions/BIS_fnc_diagPreviewVehicleCrew.md): Creates vehicles with their crew.
- [BIS_fnc_diagRadio](../../functions/BIS_fnc_diagRadio.md): Tracks played radio sentences.
- [BIS_fnc_diagVehicleIcons](../../functions/BIS_fnc_diagVehicleIcons.md) **[broken]**: Previews all vehicle icons on map.
- [BIS_fnc_diagWiki](../../functions/BIS_fnc_diagWiki.md): Scans specific config folder and outputs the values in wiki format.
- [BIS_fnc_error](../../functions/BIS_fnc_error.md): Logs an error message and shows an ingame error message. The message is shown when either of the following is true:
- [BIS_fnc_errorParamsType](../../functions/BIS_fnc_errorParamsType.md): Displays a parameter type error message (using BIS_fnc_error) explaining the problem.
- [BIS_fnc_exportCfgGroups](../../functions/BIS_fnc_exportCfgGroups.md): Export group or object composition for use in CfgGroups. The result will be copied to clipboard.
- [BIS_fnc_exportCfgHints](../../functions/BIS_fnc_exportCfgHints.md): Exports `CfgHints` to wiki format (see Category:Arma 3: Field Manual).
- [BIS_fnc_exportCfgMagazines](../../functions/BIS_fnc_exportCfgMagazines.md): Export list of magazines for Arma 3 Assets.
- [BIS_fnc_exportCfgPatches](../../functions/BIS_fnc_exportCfgPatches.md): Export list of addons for Community Wiki - Arma 3 Assets.
- [BIS_fnc_exportCfgVehicles](../../functions/BIS_fnc_exportCfgVehicles.md): Export list of objects for Community Wiki (Assets).
- [BIS_fnc_exportCfgVehiclesAssetDB](../../functions/BIS_fnc_exportCfgVehiclesAssetDB.md): Copies CfgVehicles information to clipboard in wiki format.
- [BIS_fnc_exportCfgWeapons](../../functions/BIS_fnc_exportCfgWeapons.md): Export list of weapons for Community Wiki Arma 3 Assets Category.
- [BIS_fnc_exportConfigHierarchy](../../functions/BIS_fnc_exportConfigHierarchy.md): Export config hierarchy of given config.
- [BIS_fnc_exportEditorPreviews](../../functions/BIS_fnc_exportEditorPreviews.md): Export screenshots of objects for Eden Editor and Community Wiki to `<Arma 3 Profile>\Screenshots\EditorPreviews` directory. See Arma 3 assets.
- [BIS_fnc_exportFunctionsToWiki](../../functions/BIS_fnc_exportFunctionsToWiki.md): Export function descriptions to Community Wiki. Exported text will be copied to clipboard in XML format.
- [BIS_fnc_exportGroupFormations](../../functions/BIS_fnc_exportGroupFormations.md): *N/A*
- [BIS_fnc_exportGUIBaseClasses](../../functions/BIS_fnc_exportGUIBaseClasses.md) **[broken]**: Export GUI macros and base classes to the clipboard.
- [BIS_fnc_exportMapToBiTXT](../../functions/BIS_fnc_exportMapToBiTXT.md): Returns terrain height map to BiTXT (Universal Bistudio TXT) format, which can be imported to Object Builder. Output is also copied to clipboard.
- [BIS_fnc_fps](../../functions/BIS_fnc_fps.md): Function to measure FPS. Spawns code running for given time and displays result on screen via titleText, globalChat and diag_log. Variable BIS_fps_output is filled with diag_log content too.
- [BIS_fnc_functionMeta](../../functions/BIS_fnc_functionMeta.md): Returns function's meta data.
- [BIS_fnc_functionPath](../../functions/BIS_fnc_functionPath.md): Returns path to function file.
- [BIS_fnc_functionsDebug](../../functions/BIS_fnc_functionsDebug.md): Changes debug mode used when compiling functions from the Arma 3: Functions Library. Also recompiles all functions. See Arma 3: Functions Library for more information.
- [BIS_fnc_GC](../../functions/BIS_fnc_GC.md): Sends an entity to the garbage collection queue. Replaces Arma 2 Garbage Collector.
- [BIS_fnc_GCinit](../../functions/BIS_fnc_GCinit.md): Initializes Garbage Collection.
- [BIS_fnc_help](../../functions/BIS_fnc_help.md): Opens the Functions Viewer which lists all functions defined in: - Arma 2: Functions Library (Also Arma 2: Operation Arrowhead) - Arma 3: Functions Library - Take On Helicopters: Functions Library
- [BIS_fnc_importImageLinks](../../functions/BIS_fnc_importImageLinks.md): Imports CfgVehicles image links from the Community Wiki (https://community.bistudio.com/). 1. Run the script. It will copy a text into clipboard 1. Open your Sandbox and paste the text into edit field 1.
- [BIS_fnc_isDebugConsoleAllowed](../../functions/BIS_fnc_isDebugConsoleAllowed.md): Returns true if debug console is allowed in current context
- [BIS_fnc_isDemo](../../functions/BIS_fnc_isDemo.md): Returns true when game version is demo.
- [BIS_fnc_loadFunctions](../../functions/BIS_fnc_loadFunctions.md): Compile scripts and save them into globally available functions. Defines _fnc_scriptName variable.
- [BIS_fnc_locWeaponInfo](../../functions/BIS_fnc_locWeaponInfo.md): Shows a utility tool checking length of weapon info texts.
- [BIS_fnc_log](../../functions/BIS_fnc_log.md): Log debug message.
- [BIS_fnc_logFormat](../../functions/BIS_fnc_logFormat.md): Display debug message.
- [BIS_fnc_logFormatServer](../../functions/BIS_fnc_logFormatServer.md): Logs (using diag_log) a debug message (profileName, playerUID, _fnc_scriptName, provided text) to server's .RPT. In singleplayer, BIS_fnc_logFormat is used.
- [BIS_fnc_preload](../../functions/BIS_fnc_preload.md): Start automatic loading screen upon mission start. On client, it will finish only when server is finished.
- [BIS_fnc_recompile](../../functions/BIS_fnc_recompile.md): Can be used to recompile functions.
- [BIS_fnc_shutdown](../../functions/BIS_fnc_shutdown.md): Shut downs the game.
- [BIS_fnc_traceBullets](../../functions/BIS_fnc_traceBullets.md): Visualise unit's bullet trajectories. Can only be used on one shooter in a single instance.
- [BIS_fnc_version](../../functions/BIS_fnc_version.md): Detects which Arma 2 expansions and addons are available. Only works in Arma 2/Arma 2: Operation Arrowhead.
