diag list: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) 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
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"]