diag enabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{DISPLAYTITLE:diag_enabled}}
{{DISPLAYTITLE:diag_enabled}}
{{Command|Comments=
{{Command


| arma3diag |Game=
| arma3diag


|1.00|Game Version (number surrounded by NO SPACES)=
|1.00


|arg=  |Multiplayer Arguments("local" or "global")=
|arg=  |Multiplayer Arguments("local" or "global")=


|eff=  |Multiplayer Effects ("local" or "global")=
|eff=


|serverExec=  |Multiplayer Execution ("server" or empty)=
|serverExec=


|gr1= Diagnosis |GROUP1=
|gr1= Diagnosis


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


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


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


| [[Boolean]] - [[true]] when enabled, [[false]] when disabled |RETURNVALUE=
| [[Boolean]] - [[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";//returns [[true]]
</code>|EXAMPLE1=
</code>


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


}}
}}

Revision as of 01:29, 18 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