diag enabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "$1$2</code>")
m (Text replacement - "<sqf>([^↵][^<]*↵[^<]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.00


|branch= diag
|branch= diag
|version1= 1.00


|gr1= Diagnostic
|gr1= Diagnostic
Line 13: Line 12:
|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]] when enabled, [[false]] when disabled
|r1= [[Boolean]] - [[true]] when enabled, [[false]] when disabled


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


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

Latest revision as of 19:43, 3 September 2024

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