Tile - YUi - Disable Hud – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(5 intermediate revisions by 2 users 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'''.
 


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


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

Latest revision as of 15: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.