{"name":"diag_drawMode","operator":null,"title":"diag drawMode","type":"command","url":"https://community.bistudio.com/wiki/diag_drawMode","revid":336291,"updated":"2022-12-21T11:09:54Z","groups":["Diagnostic"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.86"}],"since":{"game":"arma3","name":"Arma 3","version":"1.86"},"arma3_since":"1.86","branch":"diag","locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Activates a debug visualisation.","syntaxes":[{"syntax":"diag_drawMode type","since":null,"effect":null,"exec":null,"params":[{"name":"type","type":"String","optional":false,"default":null,"description":"type of visualisation. Can be one of:\n- \"Normal\"\n- \"Roadway\"\n- \"Geometry\"\n- \"ViewGeometry\"\n- \"FireGeometry\"\n- \"Paths\"\n- \"ShadowVolume\"\n- \"ShadowBuffer\"\n- \"Buoyancy\"\n- Arma 3 v2.10 \"Wire\" - can be used along other visualisation\n  - first mode: pure wireframe, no normal rendering\n  - second mode: normal rendering combined with wireframe\n  - third mode: back to normal","types":["String"],"since":null,"text":"type: String - type of visualisation. Can be one of:\n- \"Normal\"\n- \"Roadway\"\n- \"Geometry\"\n- \"ViewGeometry\"\n- \"FireGeometry\"\n- \"Paths\"\n- \"ShadowVolume\"\n- \"ShadowBuffer\"\n- \"Buoyancy\"\n- Arma 3 v2.10 \"Wire\" - can be used along other visualisation\n  - first mode: pure wireframe, no normal rendering\n  - second mode: normal rendering combined with wireframe\n  - third mode: back to normal"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"type","types":["String"]}}],"examples":[{"text":"```sqf\ndiag_drawMode \"FireGeometry\";\nsleep 5;\ndiag_drawMode \"Normal\";\n```","code":["diag_drawMode \"FireGeometry\";\nsleep 5;\ndiag_drawMode \"Normal\";"]},{"text":"\"Wire\" can be used along other modes:\n\n```sqf\ndiag_drawMode \"Wire\";            // switch to first Wire mode\ndiag_drawMode \"Roadway\";        // switch to Roadway like usual\n\ndiag_drawMode \"Wire\";            // switch to second Wire mode\ndiag_drawMode \"ViewGeometry\";    // switch to ViewGeometry, keeping the current Wire mode\n\ndiag_drawMode \"Wire\";            // disable Wire\n```","code":["diag_drawMode \"Wire\";\t\t\t// switch to first Wire mode\ndiag_drawMode \"Roadway\";\t\t// switch to Roadway like usual\n\ndiag_drawMode \"Wire\";\t\t\t// switch to second Wire mode\ndiag_drawMode \"ViewGeometry\";\t// switch to ViewGeometry, keeping the current Wire mode\n\ndiag_drawMode \"Wire\";\t\t\t// disable Wire"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["diag_list"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Arma 3: Scripting Commands: Diagnostic Branch","Command Group: Diagnostic","Introduced with Arma 3 version 1.86","Scripting Commands"]}