hmd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|1.12 | |version1= 1.12 | ||
|arg= global | |arg= global | ||
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