diag enable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])=<code>" to "|x$1= <code>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
|s1= mode [[diag_enable]]  state
|s1= mode [[diag_enable]]  state


|p1= mode: [[String]] - See [[Arma 3: Diagnostics Exe]]
|p1= mode: [[String]] - see [[Arma 3: Diagnostics Exe]]


|p2= state: [[Boolean]] - [[true]] to enable diag mode, [[false]] to disable it
|p2= state: [[Boolean]] - [[true]] to enable diag mode, [[false]] to disable it
Line 18: Line 18:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>"All" '''diag_enable''' [[true]];</code>
|x1= <sqf>"All" diag_enable true;</sqf>


|seealso= [[Arma 3: Diagnostics Exe]] [[diag_toggle]]
|seealso= [[Arma 3: Diagnostics Exe]] [[diag_toggle]]
}}
}}

Latest revision as of 15:49, 8 November 2023

Hover & click on the images for description
Only available in Diagnostic branch(es).

Description

Description:
Toggles various diagnostics.
Groups:
Diagnostic

Syntax

Syntax:
mode diag_enable state
Parameters:
mode: String - see Arma 3: Diagnostics Exe
state: Boolean - true to enable diag mode, false to disable it
Return Value:
Nothing

Examples

Example 1:
"All" diag_enable true;

Additional Information

See also:
Arma 3: Diagnostics Exe diag_toggle

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note