diag enabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed order)
m (template:command argument fix)
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Checks whether specific diagnostic mode is activated. {{note|Only available in the Arma 3 Diagnostic exe}} |= Description
| Checks whether specific diagnostic mode is activated. {{note|Only available in the Arma 3 Diagnostic exe}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''diag_enabled''' diag_mode |= Syntax
| '''diag_enabled''' diag_mode |SYNTAX=


|p1= diag_mode: [[String]]  - See [[Arma 3 Diagnostics Exe]]  |= Parameter 1
|p1= diag_mode: [[String]]  - See [[Arma 3 Diagnostics Exe]]  |PARAMETER1=


| [[Boolean]] - [[true]] when enabled, [[false]] when disabled |= Return Value
| [[Boolean]] - [[true]] when enabled, [[false]] when disabled |RETURNVALUE=


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 27: Line 27:
|x1=<code>"Animation" '''diag_enable''' [[true]];
|x1=<code>"Animation" '''diag_enable''' [[true]];
'''diag_enabled''' "Animation";//returns [[true]]
'''diag_enabled''' "Animation";//returns [[true]]
</code>|= Example 1
</code>|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 15:37, 7 April 2019


Hover & click on the images for description

Description

Description:
Checks whether specific diagnostic mode is activated. Template:note
Groups:
Uncategorised

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

Bottom Section