diag toggle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(created page)
 
m (Text replacement - "<sqf>([^↵][^<]*↵[^<]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(40 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________


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


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


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


|eff= |= Multiplayer Effects ("local" or "global")
|descr= Toggles various diagnostics.


|exec= |= Multiplayer Execution ("server" or empty)
|s1= [[diag_toggle]] mode
____________________________________________________________________________________________


| Used to enable/disabled various diagnostics. {{note|Only available in the Arma 3 Diagnostic exe}} |= Description
|p1= mode: [[String]] - see [[Arma 3: Diagnostics Exe]]
____________________________________________________________________________________________


| '''diag_toggle''' diag_mode|= Syntax
|r1= [[Nothing]]


|p1= [[String]]: diag_mode - See [[Arma 3 Diagnostics Exe]]  |= Parameter 1
|x1= <sqf>
 
diag_toggle "Animation"; // enable
| [[Nothing]] |= Return Value
diag_toggle "Animation"; // disable
 
</sqf>
____________________________________________________________________________________________
 
|x1=<code>'''diag_toggle''' "Animation";//enable
'''diag_toggle''' "Animation";//disable
</code>|= Example 1
____________________________________________________________________________________________
 
| [[Arma 3 Diagnostics Exe]] [[diag_enable]] |= See Also


|seealso= [[Arma 3: Diagnostics Exe]] [[diag_enable]]
}}
}}
<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 19:42, 3 September 2024

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

Description

Description:
Toggles various diagnostics.
Groups:
Diagnostic

Syntax

Syntax:
diag_toggle mode
Parameters:
mode: String - see Arma 3: Diagnostics Exe
Return Value:
Nothing

Examples

Example 1:
diag_toggle "Animation"; // enable diag_toggle "Animation"; // disable

Additional Information

See also:
Arma 3: Diagnostics Exe 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