diag list: Difference between revisions
Jump to navigation
Jump to search
m (fixed syntax) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
| Returns an array of all diag modes available in the game. | | Returns an array of all diag modes available in the game. | ||
{{warning|Command is only available when using [[Arma 3 Diagnostics Exe|Arma 3 Diagnostics Exe]] on Dev-Branch.}}|= | {{warning|Command is only available when using [[Arma 3 Diagnostics Exe|Arma 3 Diagnostics Exe]] on Dev-Branch.}}|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''diag_list''' name |= | | '''diag_list''' name |SYNTAX= | ||
|p1= name: [[String]] - toggle/drawMode |= | |p1= name: [[String]] - toggle/drawMode |PARAMETER1= | ||
| [[Array]] - [listOfAllToggleDiagModes] |= | | [[Array]] - [listOfAllToggleDiagModes] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>'''diag_list''' "toggle";</code> |= | |x1= <code>'''diag_list''' "toggle";</code> |EXAMPLE1= | ||
|x2= <code>'''diag_list''' "drawMode"</code> |= | |x2= <code>'''diag_list''' "drawMode"</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= | | |SEEALSO= | ||
}} | }} |
Revision as of 14:37, 7 April 2019
Description
- Description:
- Returns an array of all diag modes available in the game.
- Groups:
- Uncategorised
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 arma3dev version 1.00]][[ Category: arma3dev: New Scripting Commands | DIAG LIST]][[ Category: arma3dev: Scripting Commands | DIAG LIST]]
Notes
Bottom Section
- Posted on October 7, 2016 - 10:20 (UTC)
- Revo
-
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"]