Fandom

武装突袭 Wiki

ShowHUD

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 Share

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

  Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2
版本:
1.00

描述

描述:
Enable / disable showing of HUD. Defines visibility of weapon crosshair and any informational tags that appear when pointing the weapon at an object as well as availability of the default action menu. Unfortunately, it also hides icons drawn with drawIcon3D.

Appearance of HUD can also be controlled with showHUD param in description.ext. NOTE: As of Arma 3 v1.49.131879 there is a showHUD[] array param, that is identical in format to the extended showHUD command. When showHUD[] array param is present in description.ext, it will disable showHUD command entirely, allowing mission makers to permanently alter visibility of some HUD elements.

基本句法

句法:
showHUD enable
参数:
enable: Boolean
返回值:
Nothing

替代句法

句法:
showHUD [hud, info, radar, compass, direction, menu, group, cursors]         (Since Arma 3 v1.49.131879)
参数:
[hud, info, radar, compass, direction, menu, group, cursors]: Array

hud: Boolean - show scripted HUD (same as normal showHUD true/false)

info: Boolean - show vehicle + soldier info (hides weapon info from the HUD as well)

radar: Boolean - show vehicle radar

compass: Boolean - show vehicle compass

direction: Boolean - show tank direction indicator (not present in vanilla Arma 3)

menu: Boolean - show commanding menu (hides HC related menus)

group: Boolean - show group info bar (hides squad leader info bar)

cursors: Boolean - show HUD weapon cursors (connected with scripted HUD)
返回值:
Nothing

范例

范例1:
showHUD false;

范例2:
Hide vehicle radar and compass:showHUD [true,true,false,false,true,true,true,true];

范例3:
Check if HUD visibility is hardcoded in mission config and showHUD command is overriden:_disabledShowHUD = isArray (missionConfigFile >> "showHUD");

额外资讯

多人游戏:
-
也可以看看:

shownHUDshowCinemaBordershowSubtitlesshowWatchshowRadioshowMapshowGPSshowCompassshowPad

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

Posted on August 17, 2015 - 17:08 (UTC)
Killzone Kid
Last param, "cursors" controls visibility of the action menu as well as weapon cursors. However if 1st param "hud" hides and disables action menu, last param "cursors" only hides it. So you get invisible action menu that is fully operational. inGameUISetEventHandler will still fire on interaction, giving the information about selected item on the action menu even if you cannot see it. Unfortunately it also hides icons drawn with drawIcon3D.

更多维基

随机维基