diag enable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_enable}}
{{RV|type=command


{{Command|Comments=
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3diag |Game=
|branch= diag


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


|arg= |Multiplayer Arguments= ("local" or "global")
|descr= Toggles various diagnostics.


|eff|Multiplayer Effects= ("local" or "global")
|s1= mode [[diag_enable]] state


|serverExec= |= Multiplayer Execution ("server" or empty)
|p1= mode: [[String]] - see [[Arma 3: Diagnostics Exe]]


|gr1= Diagnosis |GROUP1=
|p2= state: [[Boolean]] - [[true]] to enable diag mode, [[false]] to disable it
____________________________________________________________________________________________


| Used to enable/disabled various diagnostics.|DESCRIPTION=
|r1= [[Nothing]]
____________________________________________________________________________________________


| diag_mode '''diag_enable''' state |SYNTAX=
|x1= <sqf>"All" diag_enable true;</sqf>
 
|p1= diag_mode: [[String]] - See [[Arma 3 Diagnostics Exe]]  |PARAMETER1=
 
|p2= state: [[Boolean]] - [[true]] to enable diag mode, [[false]] to disable it |PARAMETER2=
 
| [[Nothing]] |RETURNVALUE=
 
____________________________________________________________________________________________
 
|x1=<code> "All" '''diag_enable''' [[true]] </code>|EXAMPLE1=
____________________________________________________________________________________________
 
| [[Arma 3 Diagnostics Exe]] [[diag_toggle]] |SEEALSO=


|seealso= [[Arma 3: Diagnostics Exe]] [[diag_toggle]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|User Name]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
<!-- Appropriate categories go here -->
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 15:49, 8 November 2023

Hover & click on the images for description
Only available in Diagnostic branch(es).

Description

Description:
Toggles various diagnostics.
Groups:
Diagnostic

Syntax

Syntax:
mode diag_enable state
Parameters:
mode: String - see Arma 3: Diagnostics Exe
state: Boolean - true to enable diag mode, false to disable it
Return Value:
Nothing

Examples

Example 1:
"All" diag_enable true;

Additional Information

See also:
Arma 3: Diagnostics Exe diag_toggle

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