Tile - YUi - Show Text Above Entity For Player – 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}}}}")
 
Line 42: Line 42:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:35, 24 November 2023

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

Availability

Server

Description

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