hmd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(26 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.12 | |||
|arg= global | |arg= global | ||
|gr1= Unit Inventory | |gr1= Unit Inventory | ||
| Returns class name of currently used Head Mounted Display. Returns an empty string if the slot is empty. | |descr= Returns class name of currently used Head Mounted Display. Returns an empty string if the slot is empty. | ||
| | {{Feature|informative|If [[hmd]] returns "" this doesn't immediately mean unit has no [[hmd]], some items like Special Helmet ("H_HelmetO_ViperSP_ghex_F") can have built-in [[hmd]] so you might want to check the type of [[headgear]] as well}} | ||
| | |s1= [[hmd]] unit | ||
| [[ | |p1= unit: [[Object]] | ||
|r1= [[String]] | |||
|x1= < | |x1= <sqf>_nvgs = hmd player; //NVGoggles</sqf> | ||
|seealso= [[headgear]] [[goggles]] [[binocular]] | |||
| [[headgear]] | |||
}} | }} | ||
Latest revision as of 00:24, 2 February 2024
Description
- Description:
- Returns class name of currently used Head Mounted Display. Returns an empty string if the slot is empty.
- Groups:
- Unit Inventory
Syntax
Examples
- Example 1:
Additional Information
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