diag list: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{DISPLAYTITLE:diag_list}}
{{DISPLAYTITLE:diag_list}}
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3Diag |Game name=
| arma3Diag |Game name=
Line 8: Line 7:


|gr1= Diagnosis |GROUP1=
|gr1= Diagnosis |GROUP1=
____________________________________________________________________________________________


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


| '''diag_list''' name |SYNTAX=
| '''diag_list''' name |SYNTAX=
Line 18: Line 15:


| [[Array]] - [listOfAllToggleDiagModes] |RETURNVALUE=
| [[Array]] - [listOfAllToggleDiagModes] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>'''diag_list''' "toggle";</code> |EXAMPLE1=
|x1= <code>'''diag_list''' "toggle";</code> |EXAMPLE1=
|x2= <code>'''diag_list''' "drawMode"</code> |EXAMPLE2=
|x2= <code>'''diag_list''' "drawMode"</code> |EXAMPLE2=
____________________________________________________________________________________________


|  |SEEALSO=
|  |SEEALSO=

Revision as of 00:57, 17 January 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:
Diagnosis

Syntax

Syntax:
diag_list name
Parameters:
name: String - toggle/drawMode
Return Value:
Array - [listOfAllToggleDiagModes]

Examples

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

Additional Information

See also:
See also needed

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]]

Notes

Bottom Section

Posted on October 7, 2016 - 10:20 (UTC)
R3vo
Arma 3 Version 1.65.138660 diag_list "toggle"; returns: ["Force","Animation","Mines","HitPoints","AnimSrcUnit","AnimSrcTarget","Suspension",
"EPEForce","EPEVehicle","ParticleNames","Particles","SurfaceUnder","AISkill","AIDriving",
"AIAiming","AIBrain","AIDynamicError","AISuppression"]