diag list: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) 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. | |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]] | |||
}} | }} | ||
Revision as of 23:32, 28 March 2021
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"] 1.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]]