Ylands:Tile - YUi - Show Text Above Entity For All Players

From Bohemia Interactive Community
Jump to navigation Jump to search

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

YlandsTile-725.png

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

Parameters

entity

text

color

time

fadeIn

fadeOut

textAnimation

renderOverEverything

fontSize

customImage

Availability

Server, Not in Edu

Description

Displays the entered text above the target entity for the given time.