diag enabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{DISPLAYTITLE:diag_enabled}}
{{DISPLAYTITLE:diag_enabled}}
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3diag |Game=
| arma3diag |Game=
Line 14: Line 13:


|gr1= Diagnosis |GROUP1=
|gr1= Diagnosis |GROUP1=
____________________________________________________________________________________________


| Checks whether specific diagnostic mode is activated.|DESCRIPTION=
| Checks whether specific diagnostic mode is activated.|DESCRIPTION=
____________________________________________________________________________________________


| '''diag_enabled''' diag_mode |SYNTAX=
| '''diag_enabled''' diag_mode |SYNTAX=
Line 25: Line 22:
| [[Boolean]] - [[true]] when enabled, [[false]] when disabled |RETURNVALUE=
| [[Boolean]] - [[true]] when enabled, [[false]] when disabled |RETURNVALUE=


____________________________________________________________________________________________


|x1=<code>"Animation" '''diag_enable''' [[true]];
|x1=<code>"Animation" '''diag_enable''' [[true]];
'''diag_enabled''' "Animation";//returns [[true]]
'''diag_enabled''' "Animation";//returns [[true]]
</code>|EXAMPLE1=
</code>|EXAMPLE1=
____________________________________________________________________________________________


| [[Arma 3 Diagnostics Exe]] [[diag_toggle]] [[diag_enable]] |SEEALSO=
| [[Arma 3 Diagnostics Exe]] [[diag_toggle]] [[diag_enable]] |SEEALSO=

Revision as of 00:37, 17 January 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:
Diagnosis

Syntax

Syntax:
diag_enabled diag_mode
Parameters:
diag_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]]

Bottom Section