diag toggle: 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 (Text replacement - "<sqf>([^↵][^<]*↵[^<]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3diag
|game1= arma3
|version1= 1.00


|1.00
|branch= diag
 
|arg=
 
|eff=
 
|serverExec=


|gr1= Diagnostic
|gr1= Diagnostic


| Used to enable/disabled various diagnostics.
|descr= Toggles various diagnostics.


| '''diag_toggle''' diag_mode
|s1= [[diag_toggle]] mode


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


| [[Nothing]]
|r1= [[Nothing]]


|x1=<code>'''diag_toggle''' "Animation";//enable
|x1= <sqf>
'''diag_toggle''' "Animation";//disable
diag_toggle "Animation"; // enable
</code>
diag_toggle "Animation"; // disable
</sqf>


|seealso= [[Arma 3 Diagnostics Exe]] [[diag_enable]]
|seealso= [[Arma 3: Diagnostics Exe]] [[diag_enable]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
[[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