Tile - YUi - Disable Hud – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}")
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Image:Ylands_DisableHud.jpg|400px]]
<!---
*Disable HUD components: hotbar and hearts.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Select the player for whom tabs will be disabled
-->
== Disable Hud(Player, Component, Disable) ==
 
[[File:YlandsTile-687.png]]
 
<pre>static disableHud(player: YCharacter, HUD: YHudElementType, disable: boolean): void;</pre>
=== Parameters ===
 
==== player ====
 
Target player
 
==== HUD ====
 
Target HUD component
 
==== disable ====
 
Whether the component is disabled or enabled
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]]
 
=== Description ===
 
Allows to ''enable/disable''* HUD component for '''specific player'''.
 


----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.14]]

Latest revision as of 14:35, 24 November 2023

Disable Hud(Player, Component, Disable)

YlandsTile-687.png

static disableHud(player: YCharacter, HUD: YHudElementType, disable: boolean): void;

Parameters

player

Target player

HUD

Target HUD component

disable

Whether the component is disabled or enabled

Availability

Server, Not in Edu

Description

Allows to enable/disable* HUD component for specific player.