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

From Bohemia Interactive Community
Jump to navigation Jump to search

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.