hmd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
|descr= 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. | ||
|s1= | {{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]] | |p1= unit: [[Object]] | ||
Line 15: | Line 17: | ||
|r1= [[String]] | |r1= [[String]] | ||
|x1= < | |x1= <sqf>_nvgs = hmd player; //NVGoggles</sqf> | ||
|seealso= [[headgear]] | |seealso= [[headgear]] [[goggles]] [[binocular]] | ||
}} | }} |
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