diag list: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "arma3Diag" to "arma3diag")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3diag
|game1= arma3diag


|1.00
|version1= 1.00


|gr1= Diagnostic
|gr1= Diagnostic


| Returns an array of all diag modes available in the game.
|descr= Returns an array of all diag modes available in the game.


| '''diag_list''' name
|s1= '''diag_list''' name


|p1= name: [[String]] - toggle/drawMode
|p1= name: [[String]] - toggle/drawMode


| [[Array]] - ["Force", "Animation", "Mines", "HitPoints", "AnimSrcUnit", "AnimSrcTarget", "Suspension", "EPEForce", "EPEVehicle", "ParticleNames", "Particles", "SurfaceUnder", "AISkill", "AIDriving", "AIAiming", "AIBrain", "AIDynamicError", "AISuppression"] {{GVI|arma3|1.65}}
|r1= [[Array]] - ["Force", "Animation", "Mines", "HitPoints", "AnimSrcUnit", "AnimSrcTarget", "Suspension", "EPEForce", "EPEVehicle", "ParticleNames", "Particles", "SurfaceUnder", "AISkill", "AIDriving", "AIAiming", "AIBrain", "AIDynamicError", "AISuppression"] {{GVI|arma3|1.66}}
   
   
|x1= <code>'''diag_list''' "toggle";</code>
|x1= <code>'''diag_list''' "toggle";</code>
|x2= <code>'''diag_list''' "drawMode"</code>
|x2= <code>'''diag_list''' "drawMode"</code>
|seealso= [[diag_toggle]] [[diag_enable]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}

Revision as of 00:32, 29 March 2021

-wrong parameter ("arma3diag") defined!-[[:Category:Introduced with arma3diag version 1.00|1.00]]
Hover & click on the images for description

Description

Description:
Returns an array of all diag modes available in the game.
Groups:
Diagnostic

Syntax

Syntax:
diag_list name
Parameters:
name: String - toggle/drawMode
Return Value:
Array - ["Force", "Animation", "Mines", "HitPoints", "AnimSrcUnit", "AnimSrcTarget", "Suspension", "EPEForce", "EPEVehicle", "ParticleNames", "Particles", "SurfaceUnder", "AISkill", "AIDriving", "AIAiming", "AIBrain", "AIDynamicError", "AISuppression"] Arma 3 logo black.png1.66

Examples

Example 1:
diag_list "toggle";
Example 2:
diag_list "drawMode"

Additional Information

See also:
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 LIST]][[ Category: arma3diag: Scripting Commands | DIAG LIST]]