Arma 3 Scripting

Command in Diagnostic

diag_drawMode

Also available as Markdown and JSON, or read the original wiki page.

Description

Activates a debug visualisation.

Syntax

diag_drawMode type

Parameters:

Returns: Nothing

Examples

Example 1

diag_drawMode "FireGeometry";
sleep 5;
diag_drawMode "Normal";

Example 2

"Wire" can be used along other modes:

diag_drawMode "Wire";            // switch to first Wire mode
diag_drawMode "Roadway";        // switch to Roadway like usual

diag_drawMode "Wire";            // switch to second Wire mode
diag_drawMode "ViewGeometry";    // switch to ViewGeometry, keeping the current Wire mode

diag_drawMode "Wire";            // disable Wire

See also

diag_list