diag enabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <!-- BEGIN Note Section --> <!-- For example: <dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd> <dt class="note">User Name</dt> <dd class="note">This is an example n...)
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3diag
|game1= arma3diag


|1.00
|version1= 1.00
 
|arg=
 
|eff=
 
|serverExec=


|gr1= Diagnostic
|gr1= Diagnostic


| Checks whether specific diagnostic mode is activated.
|descr= Checks whether specific diagnostic mode is activated.


| '''diag_enabled''' diag_mode
|s1= '''diag_enabled''' mode


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


| [[Boolean]] - [[true]] when enabled, [[false]] when disabled
|r1= [[Boolean]] - [[true|True]] when enabled, [[false]] when disabled


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


|seealso= [[Arma 3 Diagnostics Exe]] [[diag_toggle]] [[diag_enable]]
|seealso= [[Arma 3 Diagnostics Exe]] [[diag_toggle]] [[diag_enable]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 23:41, 28 March 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]]