diag enabled: 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 - "\{\{cc\|([^} ]*)\}\}" to "// $1")
Line 18: Line 18:


|x1= <code>"Animation" '''diag_enable''' [[true]];
|x1= <code>"Animation" '''diag_enable''' [[true]];
'''diag_enabled''' "Animation"; {{cc|Returns [[true]]}}</code>
'''diag_enabled''' "Animation"; // Returns [[true]]</code>


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

Revision as of 12:26, 12 May 2022

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

Description

Description:
Checks whether specific diagnostic mode is activated.
Groups:
Diagnostic

Syntax

Syntax:
diag_enabled mode
Parameters:
mode: String - See Arma 3: Diagnostics Exe
Return Value:
Boolean - true when enabled, false when disabled

Examples

Example 1:
"Animation" diag_enable true; diag_enabled "Animation"; // Returns true

Additional Information

See also:
Arma 3: Diagnostics Exe diag_toggle diag_enable

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