Tile - YUi - Show Text Above Entity For Player – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
[[Image:Ylands_ShowText.jpg|400px]]
<!---
*Show entered text to the selected player for the some time. Possible to select color of text from the color palette.
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
*Show permanent entered text above selected entity. Possible to select color of text from the color palette.
-->
== Show Text Above Entity For Player(Player, Entity, Text, Color, Time, Fade In, Fade Out, Animation, Render Over Everything, Font, Image) ==
 
[[File:YlandsTile-795.png]]
 
<pre>static showTextAboveEntity(player: YCharacter, entity: YEntity, text: string, color: YColor, time: number, fadeIn: boolean, fadeOut: boolean, textAnimation: YTextAnimationType, renderOverEverything: boolean, fontSize: YFontSize, customImage: YImage): void;</pre>
=== Parameters ===
 
==== player ====
 
==== entity ====
 
==== text ====
 
==== color ====
 
==== time ====
 
==== fadeIn ====
 
==== fadeOut ====
 
==== textAnimation ====
 
==== renderOverEverything ====
 
==== fontSize ====
 
==== customImage ====
 
=== Description ===
 
Displays the '''entered text''' above the target '''player's''' head for the given time.
 


----
----
Line 8: Line 41:


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.15]]

Revision as of 09:52, 8 July 2021

Show Text Above Entity For Player(Player, Entity, Text, Color, Time, Fade In, Fade Out, Animation, Render Over Everything, Font, Image)

YlandsTile-795.png

static showTextAboveEntity(player: YCharacter, entity: YEntity, text: string, color: YColor, time: number, fadeIn: boolean, fadeOut: boolean, textAnimation: YTextAnimationType, renderOverEverything: boolean, fontSize: YFontSize, customImage: YImage): void;

Parameters

player

entity

text

color

time

fadeIn

fadeOut

textAnimation

renderOverEverything

fontSize

customImage

Description

Displays the entered text above the target player's head for the given time.