diag enabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 11: Line 11:
|descr= Checks whether specific diagnostic mode is activated.
|descr= Checks whether specific diagnostic mode is activated.


|s1= [[diag_enabled]]  mode
|s1= [[diag_enabled]]  mode


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

Revision as of 23:04, 19 June 2021

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