diag enabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatting)
m (Text replacement - "\[\[Arma 3 ([^ACHJKLMTZ|])([^|]+)\]\]" to "Arma 3: $1$2")
Line 11: Line 11:
|s1= '''diag_enabled''' mode
|s1= '''diag_enabled''' mode


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


|r1= [[Boolean]] - [[true|True]] when enabled, [[false]] when disabled
|r1= [[Boolean]] - [[true|True]] when enabled, [[false]] when disabled
Line 18: Line 18:
'''diag_enabled''' "Animation"; {{cc|Returns [[true]]}}</code>
'''diag_enabled''' "Animation"; {{cc|Returns [[true]]}}</code>


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

Revision as of 20:30, 7 April 2021

-wrong parameter ("arma3diag") defined!-[[:Category:Introduced with arma3diag version 1.00|1.00]]
Hover & click on the images for description

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

[[Category:Introduced with arma3diag version 1.00]][[ Category: arma3diag: New Scripting Commands | DIAG ENABLED]][[ Category: arma3diag: Scripting Commands | DIAG ENABLED]]